]> git.tdb.fi Git - libs/net.git/blob - source/net/unix.cpp
Move most platform-specific code into overlay directories
[libs/net.git] / source / net / unix.cpp
1 #include "unix.h"
2
3 using namespace std;
4
5 namespace Msp {
6 namespace Net {
7
8 UnixAddr::UnixAddr():
9         abstract(false)
10 {
11 }
12
13 string UnixAddr::str() const
14 {
15         string result = "unix:";
16         if(abstract)
17                 result += '@';
18         result += path;
19         return result;
20 }
21
22 } // namespace Net
23 } // namespace Msp