Re: UPnP Support
Re: UPnP Support
- Subject: Re: UPnP Support
- From: Marc Krochmal <email@hidden>
- Date: Mon, 20 Mar 2006 10:48:23 -0800
Hi Mark,
I'm seeing more and more UPnP support, is there UPnP service on
MacOS-X
somewhere which can be used ?. I know of Apple's Bonjour, but I see
a lot of
ISP like automatic network setup which UPnP gives (also auto Port
setup),
which is kindya nice.
"UPnP support" is a broad term that doesn't mean a whole lot. I'm
not sure what you mean by "ISP like automatic network setup", but it
sounds like what you're really asking is if Mac OS X has support for
setting up port mappings in NAT routers. Currently, the
mDNSResponder contains code for setting up port mappings in both the
AirPort base station via a protocol called NAT-PMP, and also supports
setting up port mappings using the UPnP internet gateway protocol.
This code is triggered when you register services via wide-area
Bonjour while behind a NAT. We've had requests to export the NAT
port mapping code via its own API so it could be callable by any
application, and are considering this for a future release.
In the mean time, since mDNSResponder is open source, you could
easily take this code and attempt to build it directly into your
application.
<http://www.opensource.apple.com/darwinsource/tarballs/apsl/
mDNSResponder-107.5.tar.gz>
The file you'll need is called LegacyNATTraversal.c and it's inside
the mDNSMacOSX folder.
Hope that helps.
-Marc
_______________________________________________
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: | |
| >UPnP Support (From: Mark Thomas <email@hidden>) |