Re: Why would connect fail?

At 19:50 2/23/99 -0800, Peter Chan wrote:
>
>My program fails to connect to the server, and it seems to fail at
>TCP_NEED_CONNECT.  The macro NETCALL_WOULD_BLOCK returns true, which means
>err == WSAEWOULDBLOCK.
>
>According to the Windows documentation, this is not a fatal condition.  But
>my program is stuck at that point, and cannot go on...
>
>Any idea why this is happening?  Thanks.

Seems like you are using non-blocking sockets without an event loop. The
sample applications that I just pointed you at show yuo how to work both
with blocking and non-blocking sockets.

Henrik

--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk

Received on Thursday, 25 February 1999 09:48:38 UTC