connectTCP

Establishes a connection to the given host/port.

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

Meta