1 #ifndef MSP_NET_SOCKADDR_H_
2 #define MSP_NET_SOCKADDR_H_
18 virtual ~SockAddr() { }
20 virtual SockAddr *copy() const = 0;
22 static SockAddr *new_from_sys(const SysAddr &);
23 virtual SysAddr to_sys() const = 0;
25 virtual Family get_family() const = 0;
26 virtual std::string str() const = 0;