• 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: Cocoa + NATPMP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Cocoa + NATPMP (From: Julian <email@hidden>)

  • Prev by Date: Re: iPhoto-like image view
  • Next by Date: Re: Core Data App vs. Core Data Doc-based App: which is appropriate?
  • Previous by thread: Cocoa + NATPMP
  • Next by thread: Releasing Arrays Question
  • Index(es):
    • Date
    • Thread