00001
00002
00003
00004
00005
00006
00007
00008
00009 static const char rcsid[] __attribute__((used)) = "$Id: UnixSocket.cpp 1197 2014-10-14 22:26:11Z sella $";
00010
00011 #include "UnixSocket.h"
00012
00013 #include <sys/types.h>
00014 #include <sys/socket.h>
00015 #include <string.h>
00016
00017 using namespace sella::net;
00018
00019 UnixSocket::UnixSocket(int s) throw (SocketException) : Socket(s) {
00020 }
00021
00022 UnixSocket::~UnixSocket() {
00023 }
00024
00025 const UnixSocket::shared UnixSocket::shared_ptr(int s) throw (SocketException) {
00026 return std::make_shared<UnixSocket>(s);
00027 }
00028
00029
00030
00031