• 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: Implementing a TCP port listener in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Implementing a TCP port listener in Cocoa
      • From: Rick Hoge <email@hidden>
References: 
 >Implementing a TCP port listener in Cocoa (From: Rick Hoge <email@hidden>)
 >Re: Implementing a TCP port listener in Cocoa (From: Jakob Olesen <email@hidden>)
 >Re: Implementing a TCP port listener in Cocoa (From: Andrew Bowman <email@hidden>)
 >Re: Implementing a TCP port listener in Cocoa (From: Jakob Olesen <email@hidden>)
 >Re: Implementing a TCP port listener in Cocoa (From: Douglas Davidson <email@hidden>)
 >Re: Implementing a TCP port listener in Cocoa (From: Andrew Bowman <email@hidden>)

  • Prev by Date: Re: Login Item
  • Next by Date: Re: How to debug during Unit Test (otest)
  • Previous by thread: Re: Implementing a TCP port listener in Cocoa
  • Next by thread: Re: Implementing a TCP port listener in Cocoa
  • Index(es):
    • Date
    • Thread