<PackageReference Include="NETStandard.Library" Version="2.0.1" />

System.Net.Sockets.SocketAsyncEventArgs

public Socket AcceptSocket { get; set; }

public byte[] Buffer { get; }

public IList<ArraySegment<byte>> BufferList { get; set; }

public int BytesTransferred { get; }

public Exception ConnectByNameError { get; }

public Socket ConnectSocket { get; }

public int Count { get; }

public bool DisconnectReuseSocket { get; set; }

public int Offset { get; }

public EndPoint RemoteEndPoint { get; set; }

public SendPacketsElement[] SendPacketsElements { get; set; }

public int SendPacketsSendSize { get; set; }

public SocketError SocketError { get; set; }

public SocketFlags SocketFlags { get; set; }

public object UserToken { get; set; }

public void Dispose()

protected virtual void OnCompleted(SocketAsyncEventArgs e)

public void SetBuffer(byte[] buffer, int offset, int count)

public void SetBuffer(int offset, int count)