pub type SocketHost = IpAddr;
enum SocketHost { V4(Ipv4Addr), V6(Ipv6Addr), }
An IPv4 address.
An IPv6 address.