• 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: Kind of Server Socket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kind of Server Socket


  • Subject: Re: Kind of Server Socket
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 16 Jun 2005 11:40:47 -0700


On Jun 16, 2005, at 11:27 AM, Nick Zitzmann wrote:

Is there such a type of listening socket to build a server application with?



There aren't any that are in the Foundation framework. You should be able to use BSD sockets with NSFileHandle, though.



As a matter of fact, there was a presentation at the recent WWDC that specifically covered server-side sockets in Cocoa.  The sample code is now available at developer.apple.com; take a look at the CocoaEcho, CocoaHTTPServer, and CocoaSoap examples, which all use a common TCPServer class.

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

References: 
 >Kind of Server Socket (From: Jaap Cammeraat <email@hidden>)
 >Re: Kind of Server Socket (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Spotlight search speed problems?
  • Next by Date: Re: Kind of Server Socket
  • Previous by thread: Re: Kind of Server Socket
  • Next by thread: Re: Kind of Server Socket
  • Index(es):
    • Date
    • Thread