On Mon, Jan 12, 2009 at 12:32 PM, Dave DeLong <davedel...@me.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to