Vocabulary
io.sockets

Inputs
remotean address specifier
encodingan encoding descriptor


Outputs
streama bidirectional stream
localan address specifier


Word description
Opens a network connection and outputs a bidirectional stream using the given encoding, together with the local address the socket was bound to.

Errors
Throws an error if the connection cannot be established.

Notes
The with-client word is easier to use in most situations.

Examples
"www.apple.com" 80 <inet> utf8 <client>


Definition