InetAddress.addr_init

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. enum Addr addr_init;
    struct InetAddress(bool IPv6 = false)
    static if(IPv6)
    enum Addr addr_init;
  2. enum Addr addr_init;

Meta