accept() hangs
accept() hangs
- Subject: accept() hangs
- From: Ken Baer <email@hidden>
- Date: Sun, 9 Oct 2005 15:50:46 -0700
I am trying to set up communications between a server and a client. My
client calls connect(), and my server is getting an Accept message and
calls accept() with the SOCKET it got from the message callback. Then
accept() hangs. On the client side, connect() returns 0 and the
program continues, even before accept() is called on the server side.
The socket values seem correct, but I don't understand the behavior.
If I run the client without the server, the connect() fails as I would
expect it to.
I don't understand why accept() would hang in this situation.
-Ken Baer.
Hash, Inc.
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden