6 Nov
2006
6 Nov
'06
4:33 p.m.
Oops - one line too many among those extra ones I sent you:
On Mon, Nov 06, 2006 at 05:29:59PM +0100, Henrik Stoerner wrote:
I'd like you to add 8 lines between these two:
n = recv(sockfd, recvbuf, sizeof(recvbuf)-1, 0); if (n < 0) { dbgprintf("recv() returned error: %s\n", strerror(errno)); if (errno == EAGAIN) continue; } if (n == 0) { dbgprintf("recv() gave us 0 bytes\n"); continue; ^^^^^^^^^ dont put this "continue" line in there.
Regards, Henrik