Class NetConstants
Network constants. Can be tuned from sources for your purposes.
Inheritance
System.Object
NetConstants
Assembly: LiteNetLib.dll
Syntax
public static class NetConstants
Fields
Declaration
public const int ChanneledHeaderSize = 4
Field Value
Type |
Description |
System.Int32 |
|
DefaultWindowSize
Declaration
public const int DefaultWindowSize = 64
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int FragmentedHeaderTotalSize = 10
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int FragmentHeaderSize = 6
Field Value
Type |
Description |
System.Int32 |
|
HalfMaxSequence
Declaration
public const ushort HalfMaxSequence = 16384
Field Value
Type |
Description |
System.UInt16 |
|
Declaration
public const int HeaderSize = 1
Field Value
Type |
Description |
System.Int32 |
|
MaxConnectionNumber
Declaration
public const byte MaxConnectionNumber = 4
Field Value
Type |
Description |
System.Byte |
|
MaxSequence
Declaration
public const ushort MaxSequence = 32768
Field Value
Type |
Description |
System.UInt16 |
|
PacketPoolSize
Declaration
public const int PacketPoolSize = 1000
Field Value
Type |
Description |
System.Int32 |
|
SocketBufferSize
Declaration
public const int SocketBufferSize = 1048576
Field Value
Type |
Description |
System.Int32 |
|
SocketTTL
Declaration
public const int SocketTTL = 255
Field Value
Type |
Description |
System.Int32 |
|