summaryrefslogtreecommitdiff
path: root/src/syncSocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syncSocket.h')
-rw-r--r--src/syncSocket.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/syncSocket.h b/src/syncSocket.h
new file mode 100644
index 0000000..e1d0f9b
--- /dev/null
+++ b/src/syncSocket.h
@@ -0,0 +1,26 @@
+#ifndef _SYNCSOCKET_H
+#define _SYNCSOCKET_H
+
+#include "Sockets/TcpSocket.h"
+#include "Sockets/ISocketHandler.h"
+#include "connectionList.h"
+
+#ifdef SOCKETS_NAMESPACE
+using namespace SOCKETS_NAMESPACE;
+#endif // SOCKETS_NAMESPACE
+
+class SyncSocket : public TcpSocket
+{
+public:
+ SyncSocket(ISocketHandler&,ConnectionList & );
+
+ void OnAccept();
+// void Init();
+
+// void InitSSLServer();
+private:
+ ConnectionList & cl_;
+};
+
+
+#endif // _SYNCSOCKET_H