Re: Bonjour and multi-meg files
Re: Bonjour and multi-meg files
- Subject: Re: Bonjour and multi-meg files
- From: "Philip Q" <email@hidden>
- Date: Wed, 14 Mar 2007 14:35:51 +1300
On 14/03/07, Ken Tozier <email@hidden> wrote:
I'm reading up on Bonjour and was wondering how exactly clients of a
service receive data. Put another way, does Bonjour flood the network
with dozens of copies of a piece of information? (depending on the
number of connected clients) Or is it sort of a "you've got mail"
followed by a data fetch process?
Bonjour uses Multicast to advertise and request services across the
network. Specifically the protocol is like multicast DNS, because it's
essentially just a directory-style protocol.
Reason I ask is that I need to broadcast potentially multi-megabyte
clipboard data to other users of an application but only one or two
of those other users will actually need the data and I don't want to
choke the network with dozens of copies.
You'd use Bonjour to find out which clients need the data and then
establish TCP connections to each of them to transmit the data.
Stuart Cheshire's Google tech talk is a *really* good overview of what
Bonjour technologys and how it works.
-Phil
_______________________________________________
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