[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Send data using tcp/udp to devices behind NAT - UDP Hole Punching
- From: Sam Roberts <vieuxtech@...>
- Date: Thu, 23 Feb 2012 20:55:21 -0800
On Thu, Feb 23, 2012 at 8:08 PM, Satheesh Kumar <firstname.lastname@example.org> wrote:
> I use lua in a game engine where external C libraries are not allowed :(
> I should have been clearer.
> So is there a pure Lua solution for the above?
Pure lua doesn't have any networking capability... it must be added
using a C library, but assuming you can use UDP both the protocols
Eric mentioned run over standard UDP, so would be implementable in
> On Fri, Feb 24, 2012 at 8:57 AM, Eric Wing <email@example.com> wrote:
>> I think you want to look at NAT-PMP (NAT Port-Mapping-Protocol) or for
>> the masochists, UPnP. I see a lot of peer-to-peer software like
>> Bittorrent clients now support both to deal with NATs.
>> NAT-PMP draft/spec:
>> Maybe this library is usable? (No personal experience with it.)