Socket - mfichman/jogo GitHub Wiki
Socket::Addr
Stores the IP address and port number of a host
Socket::Listener
Stream-oriented (TCP) server socket
connect(peer String, port Int) Socket::Stream
Creates a new stream (TCP) socket and attempts to connect to 'peer'. This function will block the current coroutine until the connection is established or the connection fails.
listen(addr String, port Int) Socket::Listener
Creates a listener (TCP) socket, and binds it to 'addr'.
Socket::Stream
The Socket::Stream class implements a stream-oriented socket (e