diff options
Diffstat (limited to '')
-rw-r--r-- | source/ListenThread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/ListenThread.h b/source/ListenThread.h index 90523ea4f..ab2c97b9d 100644 --- a/source/ListenThread.h +++ b/source/ListenThread.h @@ -37,7 +37,7 @@ public: virtual void OnConnectionAccepted(cSocket & a_Socket) = 0;
} ;
- cListenThread(cCallback & a_Callback);
+ cListenThread(cCallback & a_Callback, cSocket::eFamily a_Family);
~cListenThread();
/// Creates all the sockets, returns trus if successful, false if not.
@@ -56,6 +56,9 @@ protected: /// The callback which to notify of incoming connections
cCallback & m_Callback;
+ /// Socket address family to use
+ cSocket::eFamily m_Family;
+
/// Sockets that are being monitored
cSockets m_Sockets;
|