You've already forked lidgren-network-gen3
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:
@@ -418,6 +418,12 @@ namespace Lidgren.Network
|
||||
|
||||
int payloadLengthBytes = NetUtility.BytesToHoldBits(payloadLengthBits);
|
||||
|
||||
//
|
||||
// Handle nat introduction
|
||||
//
|
||||
if (libType == NetMessageLibraryType.NatIntroduction)
|
||||
HandleNatIntroduction(ptr, senderEndpoint);
|
||||
|
||||
//
|
||||
// Handle Discovery
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user