[ENet-discuss] Nat Punch through with enet

Philip Bennefall philip at u7142039.fsdata.se
Thu Jul 22 06:21:35 PDT 2010

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


I am looking for a way to send reliable network messages with nat punch
through. Does eNet support this?

ENet-discuss mailing list
ENet-discuss at cubik.org


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 

More information about the ENet-discuss mailing list