• 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: CFSocket Read Call Back
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFSocket Read Call Back


  • Subject: Re: CFSocket Read Call Back
  • From: Ian Lister <email@hidden>
  • Date: Fri, 30 Jun 2006 10:01:17 +1000 (EST)

On Thu, 29 Jun 2006, Duane Murphy wrote:
I am repeatedly call read on the socket, but it always returns 0 bytes.

This indicates the other end of the socket has been closed. If there was simply no data to read, you would just block (or get EAGAIN if the socket is non-blocking).


Cheers,

Ian
_______________________________________________
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: CFSocket Read Call Back
      • From: "Duane Murphy" <email@hidden>
References: 
 >CFSocket Read Call Back (From: "Duane Murphy" <email@hidden>)

  • Prev by Date: Re: CFSocket Read Call Back
  • Next by Date: Re: CFSocket Read Call Back
  • Previous by thread: Re: CFSocket Read Call Back
  • Next by thread: Re: CFSocket Read Call Back
  • Index(es):
    • Date
    • Thread