1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 07:06:30 +09:00

Added some UNITY defines; fix by aeronaut84. Untested.

This commit is contained in:
lidgren
2014-08-02 18:01:30 +00:00
parent 57eba64f6f
commit 4bfb24da96
4 changed files with 13 additions and 5 deletions

View File

@@ -35,6 +35,10 @@ namespace Lidgren.Network
// -4 bytes to be on the safe side and align to 8-byte boundary
// Total 1408 bytes
// Note that lidgren headers (5 bytes) are not included here; since it's part of the "mtu payload"
/// <summary>
/// Default MTU value in bytes
/// </summary>
public const int kDefaultMTU = 1408;
private const string c_isLockedMessage = "You may not modify the NetPeerConfiguration after it has been used to initialize a NetPeer";