1 #ifndef MSP_NET_INET6_H_
2 #define NSP_NET_INET6_H_
9 class Inet6Addr: public SockAddr
12 unsigned char addr[16];
17 Inet6Addr(const SysAddr &);
19 virtual Inet6Addr *copy() const { return new Inet6Addr(*this); }
21 virtual SysAddr to_sys() const;
23 virtual Family get_family() const { return INET6; }
24 unsigned get_port() const { return port; }
25 virtual std::string str() const;