1 #ifndef MSP_NET_UNIX_H_
2 #define MSP_NET_UNIX_H_
9 class UnixAddr: public SockAddr
13 bool abstract = false;
17 UnixAddr(const SysAddr &);
18 UnixAddr(const std::string &, bool = false);
20 UnixAddr *copy() const override { return new UnixAddr(*this); }
22 SysAddr to_sys() const override;
24 Family get_family() const override { return UNIX; }
25 std::string str() const override;