9 static const char rcsid[] __attribute__((used)) =
"$Id: UnixSocket.cpp 1653 2016-02-28 19:54:59Z sella $";
11 #include "UnixSocket.h"
13 #include <sys/types.h>
14 #include <sys/socket.h>
17 using namespace sella::net;
19 UnixSocket::UnixSocket(
int s)
throw (SocketException) :
Socket(s) {
22 UnixSocket::~UnixSocket() {
25 const UnixSocket::shared UnixSocket::shared_ptr(
int s)
throw (SocketException) {
26 return std::make_shared<UnixSocket>(s);