9 #ifndef __libutilxx__sella__net__SocketPair_H__
10 #define __libutilxx__sella__net__SocketPair_H__
12 #include "../../common.h"
13 #include "UnixSocket.h"
15 #include <sys/types.h>
16 #include <sys/socket.h>
26 typedef std::shared_ptr<SocketPair> shared;
33 void operator=(
const SocketPair &sock) =
delete;
35 UnixSocket::shared getFirst(
void);
36 UnixSocket::shared getSecond(
void);
38 static const SocketPair::shared shared_ptr()
throw (SocketException);
41 UnixSocket::shared first;
42 UnixSocket::shared second;