select succeeds... recv blocks
select succeeds... recv blocks
- Subject: select succeeds... recv blocks
- From: Nathan Auch <email@hidden>
- Date: Wed, 13 Dec 2006 16:17:47 -0500
I'm seeing the following problem in my application. We do a select() on
a single file descriptor (socket) waiting for the socket to become ready
for reading. Very rarely, select is returning 1 but a subsequent call to
recv blocks. I have been unable to reproduce this outside of my
application and the problem takes about two hours to reproduce. Has
anybody seen this behaviour before? Does anybody have any ideas of what
may be going wrong? I'm reluctant to switch to poll at this point in
time, but I will try it soon and see if the problem disappears.
Thanks,
-Nathan
_______________________________________________
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