Warning: This module is considered out-dated and not up to Phobos' current standards. It will remain until we have a suitable replacement, but be aware that it will not remain long term.
SocketStream is a stream for a blocking, connected Socket.
SocketStream is a stream for a blocking, connected Socket.
Constructs a SocketStream with the specified Socket and FileMode flags.
Uses mode FileMode.In | FileMode.Out.
Property to get the Socket that is being streamed.
Attempts to read the entire block, waiting if necessary.
Attempts to write the entire block, waiting if necessary.
Socket streams do not support seeking. This disabled method throws a SeekException.
Does not return the entire stream because that would require the remote connection to be closed.
Close the Socket.