• 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: [ANN] Port mapping/forwarding framework (MIT license)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] Port mapping/forwarding framework (MIT license)


  • Subject: Re: [ANN] Port mapping/forwarding framework (MIT license)
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 15 Apr 2008 11:00:51 -0700


On 15 Apr '08, at 5:40 AM, Dominik Wagner tcm wrote:

We here at TheCodingMonkeys like to announce that we published an open-source framework for port mapping today: TCMPortMapper. It's MIT licensed and supports NAT-PMP and UPNP capable routers.

FYI, there's already some support for this built into 10.5. The lowest- level Bonjour API <dns_sd.h> has a new function called DNSServiceNATPortMappingCreate that talks to routers to open ports.


There's a bit of reference documentation, but I don't think anyone's ever specifically pointed out that this exists, so it probably went overlooked among the zillions of other API additions in Leopard.

http://developer.apple.com/documentation/Networking/Reference/DNSServiceDiscovery_CRef/dns_sd/CompositePage.html#/ /apple_ref/c/func/DNSServiceNATPortMappingCreate

By coincidence, just before I left Apple last December I submitted a piece of sample code that's a small Cocoa wrapper around this API; but it never made it to the outside world. I've just pinged ADC to see if they can un-stick it.

Of course the advantages of TheCodingMonkeys' library are
• It supports 10.4
• It allows you to find the identity of the router, for location- awareness
• It comes with full source code
• Cocoa wrapper available today


Conversely, the advantages of using the system API are
• Less code to add to your app
• Implementation will be automatically updated by Apple to fix bugs (always a good thing with networking code!)


I'll notify the list when (if?) the sample code gets released. In the interim I'll gladly offer advice to anyone wanting to work with the Leopard API.

—Jens

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

_______________________________________________

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

References: 
 >[ANN] Port mapping/forwarding framework (MIT license) (From: Dominik Wagner tcm <email@hidden>)

  • Prev by Date: Re: App fails to kill NSTask processes
  • Next by Date: Re: Using the debugger with local variables was Re: is this badly written code?
  • Previous by thread: [ANN] Port mapping/forwarding framework (MIT license)
  • Next by thread: Updating IKImageBrowserView with Edited Image
  • Index(es):
    • Date
    • Thread