summaryrefslogtreecommitdiff
path: root/src/syncSocketHandler.h
blob: 6a666e12c19a675e8607b7a921da08161daf030d (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
#ifndef _SYNCSOCKETHANDLER_H
#define _SYNCSOCKETHANDLER_H

#include "Sockets/TcpSocket.h"
#include "Sockets/SocketHandler.h"
#include "syncQueue.h"

//#ifdef SOCKETS_NAMESPACE
//using namespace SOCKETS_NAMESPACE;
//#endif // SOCKETS_NAMESPACE

class SyncSocketHandler : public SOCKETS_NAMESPACE::SocketHandler
{
public:
	SyncSocketHandler(SyncQueue & );
	int Select(long sec,long usec);

private:
	SyncQueue & queue_;
};


#endif // _SYNCSOCKET_H