Vocabulary
io.sockets

Inputs
servera handle


Outputs
clienta bidirectional stream
remotean address specifier


Word description
Waits for a connection to a server socket created by <server>, and outputs a bidirectional stream when the connection has been established. The encoding of this stream is the one that was passed to the server constructor.

Errors
Throws an error if the server socket is closed or otherwise is unavailable.

Definition