• 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: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
      • From: Eric Gorr <email@hidden>
References: 
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: Eric Gorr <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: Eric Gorr <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: email@hidden)

  • Prev by Date: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Next by Date: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Previous by thread: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Next by thread: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Index(es):
    • Date
    • Thread