Re: nonblocking sockets + peek

2001-10-08 Thread Eric Rescorla
Wirta Ville <[EMAIL PROTECTED]> writes: > Yes, there is someone listening. And the whole thing works if client > doesn't use non blocking sockets. For some reason non blocking > BIO_do_connect doesn't send anything with it's first few attempts (it's > fourth or fifth time that makes things w

RE: nonblocking sockets + peek

2001-10-07 Thread Wirta Ville
> I wonder if anyone would have an idea on how to peek > [recv(sock, buf, howmuch, MSG_PEEK)] > incoming data on the server if client is using non blocking sockets? > > I have > BIO_do_connect (nonblocking); > on the client side and > got = recv (conn->s, buf, 100, MSG_PEE