Re: NSFileHandle socket question
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.