Hi all!
I'm trying to get a PONG anwser but it doesn't work
Here is my code from my simple ircbot
I hope somebody can help me.Code:printf("\n%s", timebuffer); if(strstr(timebuffer,"PING")!=NULL) { printf("\nPing recv"); timebuffer[1] = 'O'; // From a PING answer to a PONG but it doesn't work write(fd,timebuffer, strlen(timebuffer)); }
Thanks for all
x77