Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
- Subject: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Thu, 28 Jul 2011 12:01:52 +0100
On 28 Jul 2011, at 03:43, email@hidden wrote:
> The problem is that the client continues to receive read events. However, there are no bytes to read associated with the event.
Are you saying that your read event handler gets called but then calls read() and gets a function result of 0? If so, that's standard BSD Sockets speak for EOF, and you should treat it accordingly. If not, what exactly is read() returning?
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