1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 23:26:32 +09:00

Nat introduction added; sample added (not finished yet)

This commit is contained in:
lidgren
2010-05-10 09:43:45 +00:00
parent 0810dfc1c5
commit 66802928b6
12 changed files with 269 additions and 5 deletions

View File

@@ -418,6 +418,12 @@ namespace Lidgren.Network
int payloadLengthBytes = NetUtility.BytesToHoldBits(payloadLengthBits);
//
// Handle nat introduction
//
if (libType == NetMessageLibraryType.NatIntroduction)
HandleNatIntroduction(ptr, senderEndpoint);
//
// Handle Discovery
//