Re: Bonjour server with multiple clients
Re: Bonjour server with multiple clients
- Subject: Re: Bonjour server with multiple clients
- From: "Kyle Sluder" <email@hidden>
- Date: Mon, 12 Jan 2009 13:13:03 -0500
On Mon, Jan 12, 2009 at 12:32 PM, Dave DeLong <email@hidden> wrote:
> The NSNetService publishes on a port and the server creates an NSFileHandle
> (fh1) for the NSNetService to begin listening to connection attempts. This
> fileHandle is listening on the same port on which the netService was
> published.
NSNetService has nothing whatsoever to do with the actual connection.
The server creates the socket/NSFileHandle to listen to connections,
then provides that info to the NSNetService which publishes that info
over Bonjour.
NSNetService is just a way to publish a service name, hostname and a
port in a place others can find it.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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