• 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: Bonjour server with multiple clients
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Bonjour server with multiple clients
      • From: Jim Correia <email@hidden>
References: 
 >Bonjour server with multiple clients (From: Dave DeLong <email@hidden>)
 >Re: Bonjour server with multiple clients (From: Jim Correia <email@hidden>)
 >Re: Bonjour server with multiple clients (From: Markus Spoettl <email@hidden>)
 >Re: Bonjour server with multiple clients (From: "Kyle Sluder" <email@hidden>)
 >Re: Bonjour server with multiple clients (From: Markus Spoettl <email@hidden>)
 >Re: Bonjour server with multiple clients (From: Andrew Farmer <email@hidden>)
 >Re: Bonjour server with multiple clients (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Disabled button looks like enabled
  • Next by Date: Re: Disabled button looks like enabled
  • Previous by thread: Re: Bonjour server with multiple clients
  • Next by thread: Re: Bonjour server with multiple clients
  • Index(es):
    • Date
    • Thread