Re: Kind of Server Socket
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