Create a new Stream from an existing Socket.
Create a new SocketStream that is connected to address as a client. The socket is created in streaming mode (obviously).
Detach the socket from this socket stream and return it.
Copying is disabled, because reference counting should be used instead.
Writes data to the socket.
If the Socket is open, shut down both directions and close. Otherwise, it does nothing.
Detach the socket from this socket stream and return it.
Reads data from the socket.
Writes data to the socket.
Returns true if the socket is alive.
Returns the underlying Socket.
A wrapper around a socket that provides stream functionality without buffering.