Re: Implementing a TCP port listener in Cocoa
Re: Implementing a TCP port listener in Cocoa
- Subject: Re: Implementing a TCP port listener in Cocoa
- From: Douglas Davidson <email@hidden>
- Date: Wed, 28 Jun 2006 15:39:49 -0700
On Jun 28, 2006, at 3:30 PM, Andrew Bowman wrote:
Thanks for the info, I wasn't aware of that. I'm still not clear
on why it should not be used this way, however. What's going on in
the background in NSSocketPort that makes it a bad choice for this
usage?
NSSocketPort is an NSPort subclass based on BSD sockets. It's
intended for NSPort-based transport such as DO. It expects to do the
listening and other management for its socket(s) itself. It might
perhaps work if you create an NSSocketPort, extract the socket and
use it for some other purpose, and discard the NSSocketPort, but I
wouldn't guarantee it.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden