Connects to address. The one with a name is connect("host:port").
connect :: (address: Address) -> (Tcp_Stream, Io_Error)
Connects to address. The one with a name is connect("host:port").
Parameters
- address: Address
Returns
connect :: (target: string) -> (Tcp_Stream, Io_Error)
Connects to "host:port", "1.2.3.4:80" or "[::1]:80", looking host up if it is a name.
Parameters
- target: string