Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Networking
Posix
PosixTcpSocketSet.h
1
// Copyright eeGeo Ltd (2012-2016), All Rights Reserved
2
3
#pragma once
4
5
#include "ITcpSocketSet.h"
6
#include "Networking.h"
7
#include <sys/select.h>
8
#include <sys/time.h>
9
10
namespace
Eegeo
11
{
12
namespace
Networking
13
{
14
class
PosixTcpSocketSet
:
public
ITcpSocketSet
15
{
16
public
:
17
PosixTcpSocketSet
();
18
19
void
Set(
const
ITcpSocket
& socket);
20
bool
IsSet(
const
ITcpSocket
& socket);
21
int
Select(time_t timeoutSeconds,
long
timeoutMicroseconds);
22
23
private
:
24
int
maxFileDescriptorPlusOne;
25
fd_set m_fd_set;
26
};
27
}
28
}
Generated on Sat Jun 10 2023 02:00:31 for eeGeo Platform SDK by
1.8.3.1