ConnectorBase
Performs a blocking read on the socket until length bytes are received.
protected static int SocketRead(Socket socket, byte[] buffer, int offset, int length, TimeSpan readTimeout)
Performs a blocking read on the socket until length bytes are received.
Establishes a socket connection to the specified host and port.