• 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: [iPhone] networking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [iPhone] networking
      • From: Kyle Sluder <email@hidden>
References: 
 >[iPhone] networking-is it crippled on the simulator? (From: James Lin <email@hidden>)
 >Re: [iPhone] networking-is it crippled on the simulator? (From: Dave Camp <email@hidden>)
 >Re: [iPhone] networking (From: James Lin <email@hidden>)
 >Re: [iPhone] networking (From: glenn andreas <email@hidden>)
 >Re: [iPhone] networking (From: James Lin <email@hidden>)
 >Re: [iPhone] networking (From: Luke the Hiesterman <email@hidden>)
 >Re: [iPhone] networking (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: [iPhone] Webview stringByEvaluatingJavaScriptFromString
  • Next by Date: Re: [iPhone] networking
  • Previous by thread: Re: [iPhone] networking
  • Next by thread: Re: [iPhone] networking
  • Index(es):
    • Date
    • Thread