[ENet-discuss] Nat Punch through with enet

Nathan Huesken enet at lonely-star.org
Thu Jul 22 06:25:39 PDT 2010


Wonderful and Thank you!

Just a small follow up question:
Anyone done this so far and can give me some source? Would speed up my
process :).

Regards,
Nathan


On Thu, 22 Jul 2010 15:21:35 +0200
Philip Bennefall <philip at u7142039.fsdata.se> wrote:

> Hi Nathan,
> 
> ENet has no direct support for nat hole punching, however it exposes
> a thin wrapper around the regular sockets interfaces. Thus, what you
> could do is set up your stun server and do the hole punching with
> regular UDP packets through ENet sockets, and once you know that
> messages are going through you can establish an ENet connection on
> the same port. This will work, since it's all over UDP anyway.
> 
> Hope this helps.
> 
> Kind regards,
> 
> Philip Bennefall
> ----- Original Message ----- 
> From: "Nathan Huesken" <enet at lonely-star.org>
> To: <enet-discuss at cubik.org>
> Sent: Thursday, July 22, 2010 2:30 PM
> Subject: [ENet-discuss] Nat Punch through with enet
> 
> 
> Hi,
> 
> I am looking for a way to send reliable network messages with nat
> punch through. Does eNet support this?
> 
> Thanks!
> Nathan
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
> 
> 
> --------------------------------------------------------------------------------
> 
> 
> 
> Internal Virus Database is out of date.
> Checked by AVG - www.avg.com
> Version: 8.5.432 / Virus Database: 271.1.1/2662 - Release Date:
> 02/01/10 12:37:00
> 
> _______________________________________________
> 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