internal void Close(int timeout) => transport.Close(timeout);
public void Disconnect() { IsConnected = false; TcpStream?.Close(); TcpClient?.Close(); }
internal void Close(int timeout) => transport.Close(timeout);
public void Disconnect() { IsConnected = false; TcpStream?.Close(); TcpClient?.Close(); }