Re: Select Receive Calls Irregularity?
Re: Select Receive Calls Irregularity?
- Subject: Re: Select Receive Calls Irregularity?
- From: Quinn <email@hidden>
- Date: Fri, 21 Sep 2007 09:43:07 +0100
At 18:10 -0700 20/9/07, Nelson Lee wrote:
I have an application that reads data from a socket. The data is
perpetually written to the socket so I am fairly certain that it is
the receive call that's causing the delays.
From timing debugging output, the recvfrom call returns after ~1ms.
However, occasionally, there is a call that takes 10 ms. Is this a
bug in select?
It's hard to be sure without some serious kernel-level investigation.
Is there a reason you just can't put the socket in non-blocking mode?
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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