On Aug 4, 2009, at 4:42 PM, Shawn Erickson wrote:
On Tue, Aug 4, 2009 at 11:13 AM, Luke the Hiesterman<luket...@apple.com
> wrote:
On Aug 4, 2009, at 11:10 AM, James Lin wrote:
Bonjour is for local area network, right?
No, Bonjour is applicable to any networking, local or wide area.
Here's some
sample code.
http://developer.apple.com/iphone/library/samplecode/BonjourWeb/index.html
Well ad-hoc discovery only works on the local sub-net or across
bridged sub-nets. To do service discovery across sub-nets would
require a known DNS server publishing the existence of services and
how to contact them via public IP addresses.
Of course, in the context of the original question (re: iPhone
networking), the iPhone is almost never going to have a public IP
address (being hidden behind WiFi or cell phone NATs).
Glenn Andreas gandr...@gandreas.com
<http://www.gandreas.com/> wicked fun!
Mad, Bad, and Dangerous to Know
_______________________________________________
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