if((bytes_in=recv(sockfd,recvBuff,RECVBUFF,0)) < 0)
Code above uses the select() call to receive a string messages from an irc server on a socket file descriptor and print it out to standard output.
you see the line if((printw("%s",recvBuff))==ERR)...
well when i run this program using stdio.h functions ,i.e using printf() it works fine and I get
the message recieved by my call to recv() sent to the screen.
But when I use the printw on the character array recvBuff I just get blank space where my text should be.???
Wot am i doing wrong?
the "printw("seems ok.\n");" call works fine!!?!