summaryrefslogtreecommitdiff
path: root/syncSocket.h
blob: 75d7c7cab26b46ff1de99eaaef431e4324602f1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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