1 #ifndef MSP_NET_UNIX_H_
2 #define MSP_NET_UNIX_H_
4 #include "mspnet_api.h"
10 class MSPNET_API UnixAddr: public SockAddr
14 bool abstract = false;
18 UnixAddr(const SysAddr &);
19 UnixAddr(const std::string &, bool = false);
21 UnixAddr *copy() const override { return new UnixAddr(*this); }
23 SysAddr to_sys() const override;
25 Family get_family() const override { return UNIX; }
26 std::string str() const override;