Re: Cocoa HTTP Server & threading
Re: Cocoa HTTP Server & threading
- Subject: Re: Cocoa HTTP Server & threading
- From: Andrew Farmer <email@hidden>
- Date: Mon, 18 Dec 2006 19:41:27 -0800
On 18 Dec 06, at 18:56, Brad Peterson wrote:
Does anyone have ideas on how to make the
CocoaHTTPServer sample code application
multi-threaded?
(http://developer.apple.com/samplecode/CocoaHTTPServer/)
My first suggestion would be to take a close look at TCPServer.m and
see where you can spin off a new thread for each request.
TCPServerAcceptCallBack() looks like a good candidate.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden