namespace FurinaImpact.Kcp { /// /// Options used to control the behaviors of . /// public sealed class KcpRawChannelOptions { /// /// The buffer pool to rent buffer from. /// public IKcpBufferPool BufferPool { get; set; } /// /// The maximum packet size that can be transmitted over the underlying transport. /// public int Mtu { get; set; } = 1400; /// /// The number of packets in the receive queue. /// public int ReceiveQueueSize { get; set; } = 32; /// /// The number of bytes to reserve at the start of buffer passed into the underlying transport. The transport should fill this reserved space. /// public int PreBufferSize { get; set; } /// /// The number of bytes to reserve at the end of buffer passed into the underlying transport. The transport should fill this reserved space. /// public int PostBufferSize { get; set; } } }