using System.Net; namespace Supercell.GUT.Server.Network; public interface IProtocolEntity : IDisposable { EndPoint RemoteEndPoint { get; } ValueTask ReceiveAsync(Memory buffer, CancellationToken cancellationToken); ValueTask SendAsync(Memory buffer, CancellationToken cancellationToken); }