InetAddress.opCall

Sets this.addr to the wildcard "any" IP address and the port to port.

  1. sockaddr* opCall(cstring ip_address_str, ushort port)
  2. sockaddr* opCall(ushort port)
    struct InetAddress(bool IPv6 = false)
    sockaddr*
    opCall
    (
    ushort port
    )

Parameters

port ushort

input port

Return Value

Type: sockaddr*

a sockaddr pointer to this.addr.

Meta