TCP bindings for
This module contains the TCP networking types, similar to the standard library, which can be used to implement networking protocols.
To listen on an address
TcpListener can be used.
incoming method can be used to accept new connections.
It return the
Incoming struct, which implements a stream which returns
Future returned by
Stream returned by the
An I/O object representing a TCP socket listening for incoming connections.
An I/O object representing a TCP stream connected to a remote endpoint.