A Link over an accepted or connected TCP stream. peer is the stream's remote address, or empty if it cannot be read.
The link does not copy the stream: close the link (not the stream as well) when done.
tcp_link :: (tcp: Io.Tcp_Stream) -> Link
A Link over an accepted or connected TCP stream. peer is the stream's remote address, or empty if it cannot be read.
The link does not copy the stream: close the link (not the stream as well) when done.
Parameters
- tcp: Io.Tcp_Stream