InetAddress.Addr

Constants and aliases.

- Addr aliases the "sin" internet address struct type, sockaddr_in for IPv4 or sockaddr_in6 for IPv6, respectively. - addrstrlen is the maximum length of a presentation address string plus one (for the NUL-terminator). - family is the address family identifier. - addr_init is the initial value of an Addr instance with the family field set appropriately.

  1. alias Addr = sockaddr_in6
    struct InetAddress(bool IPv6 = false)
    static if(IPv6)
    alias Addr = sockaddr_in6
  2. alias Addr = sockaddr_in

Meta