1 #ifndef _SYNCCLIENTSOCKET_H
2 #define _SYNCCLIENTSOCKET_H
4 #include "Sockets/TcpSocket.h"
5 #include "Sockets/ISocketHandler.h"
6 #include "connectionList.h"
7 #include "syncCommand.h"
14 #ifdef SOCKETS_NAMESPACE
15 using namespace SOCKETS_NAMESPACE
;
16 #endif // SOCKETS_NAMESPACE
18 class SyncClientSocket
: public TcpSocket
21 SyncClientSocket(ISocketHandler
&,ConnectionList
& );
23 bool OnConnectRetry();
25 void OnRawData(const char *buf
,size_t len
);
28 std::stringstream iss_
;
29 int32_t missing_chars
;
34 #endif // _SYNCSOCKET_H