Function connectTCP
Establishes a connection to the given host/port.
TCPConnection connectTCP
(
string host,
ushort port,
string bind_interface = null,
ushort bind_port = cast(ushort)0u,
core .time .Duration timeout = max()
) @safe;
TCPConnection connectTCP
(
NetworkAddress addr,
NetworkAddress bind_address = anyAddress(),
core .time .Duration timeout = max()
) @safe;