Skip to content

tcp

In std/io/net.

fn tcp(host: String, port: Int) : Tcp

The TCP endpoint host on port, as a Tcp. Constructing it opens no connection.