• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Select Receive Calls Irregularity?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Select Receive Calls Irregularity? (From: "Nelson Lee" <email@hidden>)

  • Prev by Date: Select Receive Calls Irregularity?
  • Next by Date: Domain Name
  • Previous by thread: Select Receive Calls Irregularity?
  • Next by thread: Domain Name
  • Index(es):
    • Date
    • Thread