Changeset 13:af2a928f0e63 in xplcommon for src/xplcommon/posix/LocalServerSocket.cc
- Timestamp:
- 12/29/12 09:23:04 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/posix/LocalServerSocket.cc
r12 r13 39 39 40 40 #include <sys/socket.h> 41 #include <sys/un.h>42 41 43 42 //------------------------------------------------------------------------------ … … 64 63 acceptor(this) 65 64 { 66 struct sockaddr_un sun;67 65 sun.sun_family = AF_UNIX; 68 66 setupPath(sun, name); … … 83 81 //------------------------------------------------------------------------------ 84 82 83 LocalServerSocket::~LocalServerSocket() 84 { 85 unlink(sun.sun_path); 86 } 87 88 //------------------------------------------------------------------------------ 89 85 90 // Local Variables: 86 91 // mode: C++
Note:
See TracChangeset
for help on using the changeset viewer.