Re: Cocoa + NATPMP
Re: Cocoa + NATPMP
- Subject: Re: Cocoa + NATPMP
- From: Marc Krochmal <email@hidden>
- Date: Wed, 28 Sep 2005 11:10:46 -0700
Hi Julian,
I am looking into adding NATPMP support to one of my networking
applications, however before I dive into the protocol
specifications and start coding from C, I am wondering if anyone
has done this, or if I may be missing some Bonjour APi's that will
alow me to do this without using raw C code.
Currently the NAT-PMP client code is implemented in mDNSResponder,
and it only gets activated if you attempt to register a wide-area
service while behind a NAT. We're considering providing a NAT-PMP
API in a future release. For now, you'll need to implement the code
yourself. Luckily the protocol is pretty easy and you can use the
code in mDNSResponder as an example.
<http://darwinsource.opendarwin.org/10.4.2/mDNSResponder-107/mDNSCore/
uDNS.c>
The version in Darwin CVS has a few bugs fixes, so you'll probably
want to check out the mDNSResponder project to get the latest stuff.
<http://developer.apple.com/darwin/projects/bonjour/>
Best Regards,
-Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden