SocketInputStream

A byte input stream for reading from a socket.

Members

Functions

closeStream
OptionalStreamError closeStream()

Shuts down and closes this stream's underlying socket.

readFromStream
StreamResult readFromStream(ubyte[] buffer)

Receives up to buffer.length bytes from the socket, and stores them in buffer.

Meta