• 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
select succeeds... recv blocks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • RE: select succeeds... recv blocks
      • From: "Jamie Wood" <email@hidden>
    • Re: select succeeds... recv blocks
      • From: Scott Ribe <email@hidden>
  • Prev by Date: TCP connections and Safari form file upload
  • Next by Date: Re: SCPreferencesSynchronize not doing its job
  • Previous by thread: TCP connections and Safari form file upload
  • Next by thread: Re: select succeeds... recv blocks
  • Index(es):
    • Date
    • Thread