Fix for windows (#50)

This commit is contained in:
Dimon4eg
2019-05-06 19:13:42 +03:00
committed by Benjamin Sergeant
parent 28a7ec4f35
commit 4d83dab4f3
5 changed files with 29 additions and 17 deletions

View File

@ -41,8 +41,6 @@ namespace ix
virtual ~Socket();
bool init(std::string& errorMsg);
void configure();
// Functions to check whether there is activity on the socket
PollResultType poll(int timeoutSecs = kDefaultPollTimeout);
bool wakeUpFromPoll(uint8_t wakeUpCode);
@ -76,6 +74,7 @@ namespace ix
const CancellationRequest& isCancellationRequested);
static int getErrno();
static bool isWaitNeeded();
// Used as special codes for pipe communication
static const uint64_t kSendRequest;