]> git.tdb.fi Git - libs/net.git/blob - source/net/windows/unix.cpp
Add a dynamic receiver class for more flexible packet handling
[libs/net.git] / source / net / windows / unix.cpp
1 #include "platform_api.h"
2 #include "unix.h"
3 #include <msp/core/except.h>
4 #include "sockaddr_private.h"
5
6 using namespace std;
7
8 namespace Msp {
9 namespace Net {
10
11 UnixAddr::UnixAddr(const SysAddr &)
12 {
13         throw unsupported("AF_UNIX");
14 }
15
16 UnixAddr::UnixAddr(const string &p, bool a):
17         path(p),
18         abstract(a)
19 {
20 }
21
22 SockAddr::SysAddr UnixAddr::to_sys() const
23 {
24         throw unsupported("AF_UNIX");
25 }
26
27 } // namespace Net
28 } // namespace Msp