mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
23 lines
540 B
C#
23 lines
540 B
C#
namespace ET
|
|
{
|
|
public partial class Kcp
|
|
{
|
|
public const int OneM = 1024 * 1024;
|
|
public const int InnerMaxWaitSize = 1024 * 1024;
|
|
public const int OuterMaxWaitSize = 1024 * 1024;
|
|
|
|
public struct SegmentHead
|
|
{
|
|
public uint conv;
|
|
public byte cmd;
|
|
public byte frg;
|
|
public ushort wnd;
|
|
public uint ts;
|
|
public uint sn;
|
|
public uint una;
|
|
public uint len;
|
|
}
|
|
}
|
|
|
|
|
|
} |