diff options
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 |