I've been researching this issue for a while and can't find a solution - I'm hoping someone here can help, or at least confirm my fate.
I need to perform port mapping (UPnP / NAT-PMP) from within a Cocoa application. I've found several open source libraries in addition to dns_sd that can accomplish this. At the moment I'm not able to use dns_sd because it complains in double-nat'ed environments. I don't expect it to perform port mapping on the "outer" of the two NAT's; only the "closer" one; the default gateway. But because it detects the double-nat, it refuses to proceed. I'd really like to be able to tell it that I understand it's objections, but I'd really like it to proceed anyway. I dug into the Bonjour source code and found the offending line of code, but unless I misunderstood, it looks nothing short of replacing mDNSResponder with a new build would resolve the issue - which isn't an acceptable course of action for me. Is there any way to make Bonjour ignore its double-nat objections? Left field here: would it be crazy to include an mDNSResponder build with the application? Can multiple instances run without bothering each other? Thanks for your help. -- Curtis Jones curtis.jo...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com