• 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
CFSocketSendData question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFSocketSendData question


  • Subject: CFSocketSendData question
  • From: Mike Laster <email@hidden>
  • Date: Wed, 4 Dec 2002 17:42:36 -0500

CFSocketSendData timeout doesn't seem to work properly in 10.2.2. I have a server bound to a socket, but frozen under gdb (to simulate a hung server).

My client connects and attempts to send data to the server. If I use a timeout of 0, the call blocks forever, as would be expected given the situation.

However, if I use a timeout of 1, the send returns a second later, but it returns kCFSocketSuccess, when I would have expected to get kCFSocketTimeout.

As it is, I have no way of telling if the send succeeded or not.

Am I going about this wrong?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: CFSocketSendData question
      • From: Becky Willrich <email@hidden>
    • Re: CFSocketSendData question
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: RE: USBCDCETHERNET Driver
  • Next by Date: Re: CFSocketSendData question
  • Previous by thread: RE: USBCDCETHERNET Driver
  • Next by thread: Re: CFSocketSendData question
  • Index(es):
    • Date
    • Thread