Re: [iPhone] networking
Re: [iPhone] networking
- Subject: Re: [iPhone] networking
- From: glenn andreas <email@hidden>
- Date: Wed, 05 Aug 2009 18:58:11 -0500
On Aug 4, 2009, at 4:42 PM, Shawn Erickson wrote:
On Tue, Aug 4, 2009 at 11:13 AM, Luke the Hiesterman<email@hidden
> 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 email@hidden
<http://www.gandreas.com/> wicked fun!
Mad, Bad, and Dangerous to Know
_______________________________________________
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