• 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: cleanest way to get outside IP address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cleanest way to get outside IP address


  • Subject: Re: cleanest way to get outside IP address
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 8 Jan 2009 14:37:55 -0800


On Jan 8, 2009, at 2:14 PM, james woodyatt wrote:

If we knew why you feel the need to invent another UNSAF method, then we might be able to help you choose the best workaround for the core Internet architecture problem you're encountering.  Your initial message doesn't communicate enough information.

Agreed. In particular, almost always when someone wants to get their 'outside' IP address, it's to let other people on the outside find and communicate with them; but to do that you also need to "punch a hole" in the NAT to get a public port to listen to. And that is actually the main purpose of the port-mapping API in dns_sd.h; the mechanism to just get your IP address is just a degenerate case where you set up a null port mapping.

(Then there's also the question of how you communicate that IP address to people, which usually involves an external protocol like email or XMPP, or a relay server of some kind, or a P2P mesh network...)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >cleanest way to get outside IP address (From: Nicolas Berloquin <email@hidden>)
 >Re: cleanest way to get outside IP address (From: james woodyatt <email@hidden>)

  • Prev by Date: Re: cleanest way to get outside IP address
  • Next by Date: Re: DHCP renew/release howto ?
  • Previous by thread: Re: cleanest way to get outside IP address
  • Next by thread: RE:cleanest way to get outside IP address
  • Index(es):
    • Date
    • Thread