diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-12-03 10:51:16 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-12-03 10:51:16 +0000 |
commit | fa4f4a8a50c4bab3a3e247fb7186a7f9a00dfc11 (patch) | |
tree | 5ff84c3c71e6d3dadbaf9e13d3fdd84ab2691ca6 /syncSocket.h | |
parent | added ssl tools (diff) |
Added syncsocket
Diffstat (limited to 'syncSocket.h')
-rw-r--r-- | syncSocket.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/syncSocket.h b/syncSocket.h new file mode 100644 index 0000000..75d7c7c --- /dev/null +++ b/syncSocket.h @@ -0,0 +1,24 @@ +#ifndef _SYNCSOCKET_H +#define _SYNCSOCKET_H + +#include "Sockets/TcpSocket.h" +#include "Sockets/ISocketHandler.h" + +using namespace sockets; + +class SyncSocket : public TcpSocket +{ +public: + SyncSocket(ISocketHandler& ); + + void OnAccept(); + + bool OnConnectRetry(); + void OnReconnect(); + +//private: +// ResumeSocket2& operator=(const ResumeSocket2& ) { return *this; } // assignment operator +}; + + +#endif // _SYNCSOCKET_H |