All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ITcpSocketSet.h
1 // Copyright eeGeo Ltd (2012-2016), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "Networking.h"
7 #include <ctime>
8 
9 namespace Eegeo
10 {
11  namespace Networking
12  {
14  {
15  public:
16  virtual ~ITcpSocketSet() { }
17 
18  virtual void Set(const ITcpSocket& socket) = 0;
19  virtual bool IsSet(const ITcpSocket& socket) = 0;
20  virtual int Select(time_t timeoutSeconds, long timeoutMicroseconds) = 0;
21  };
22  }
23 }