1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56:30 +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

@@ -509,8 +509,7 @@ namespace Lidgren.Network
/// <summary>
/// Writes an endpoint description
/// </summary>
/// <param name="endPoint"></param>
internal void Write(IPEndPoint endPoint)
public void Write(IPEndPoint endPoint)
{
byte[] bytes = endPoint.Address.GetAddressBytes();
Write((byte)bytes.Length);