connectTCP

Establishes a connection to the given host/port.

  1. TCPConnection connectTCP(string host, ushort port, string bind_interface, ushort bind_port, Duration timeout)
    @safe
    connectTCP
    (
    string host
    ,
    ushort port
    ,
    string bind_interface = null
    ,
    ushort bind_port = 0
    ,
    Duration timeout = Duration.max
    )
  2. TCPConnection connectTCP(NetworkAddress addr, NetworkAddress bind_address, Duration timeout)

Meta