[ENet-discuss] NAT punchthrough sample source code (yet again)?
Erwin Coumans
erwin.coumans at gmail.com
Sat May 4 09:51:52 PDT 2013
>>Set up a third-party ENet host C. Hosts A and B connect to C. C gives A the address of B. A directly connects to B. A and B disconnect from C.
I doubt this will work. What kind of addresses and ports are
exchanged? The global IP addresses is different from a local IP behind
a firewall.
If NAT punchthrough were that simple, why would people use Libjingle for it?
http://maemo.org/development/documentation/manuals/3-x/howto_use_stun_bora/
It would be great if we can get a simple working sample source out of
this tread,
instead of long discussions how one could attempt to implement it.
Thanks!
Erwin
>>There is no official sample, per se, but it perhaps bears repeating that a NAT punchthrough implementation is as simple as:
>>Set up a third-party ENet host C. Hosts A and B connect to C. C gives A the address of B. A directly connects to B. A and B disconnect from C.
On 05/04/2013 07:30 PM, Erwin Coumans wrote:
>
> Hi,
>
> I found many discussions on the topic but
> no working sample code for NAT punchthrough with enet.
>
> Is there any self-contained sample source that works with enet?
> Thanks,
> Erwin
>
>
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
More information about the ENet-discuss
mailing list