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

Re: NSFileHandle socket question


  • Subject: Re: NSFileHandle socket question
  • From: Doug Brown <email@hidden>
  • Date: Sun, 23 Dec 2001 22:25:37 -0800

Hi Dustin,

Just tested it. You're right - it does seem to work that way. I don't have a lot of experience with the socket api and using the NSFileHandle works fine for what I'm doing, but thanks :)

Thanks for the help!

Doug

On Sunday, December 23, 2001, at 08:40 PM, Dustin Mierau wrote:

Doug,

I think this works the same way recv() does, if you a size of 0 is passed to your callback, the connection has closed. You might just want to use the socket api directly and skip the NSFileHandle stuff, it will give you a little more flexibility.


References: 
 >Re: NSFileHandle socket question (From: Dustin Mierau <email@hidden>)

  • Prev by Date: Re: Executing AppleScript from NSString?
  • Next by Date: Drag and Drop to Finder (again)
  • Previous by thread: Re: NSFileHandle socket question
  • Next by thread: Re: NSFileHandle socket question
  • Index(es):
    • Date
    • Thread