diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-08-07 17:33:23 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-08-07 17:33:23 +0000 |
commit | 87dd532c580f32e352a65d86bad05450de974077 (patch) | |
tree | 85e7cf3b4b57fa81ab1bbe4f1958b91b5430c3fe /src/stable/server.cpp | |
parent | 68efb78a8840b81e7237f62d81831f3fdbed749b (diff) | |
download | libbu++-87dd532c580f32e352a65d86bad05450de974077.tar.gz libbu++-87dd532c580f32e352a65d86bad05450de974077.tar.bz2 libbu++-87dd532c580f32e352a65d86bad05450de974077.tar.xz libbu++-87dd532c580f32e352a65d86bad05450de974077.zip |
Nevermind, windows has no poll, and it's select sucks...
Diffstat (limited to '')
-rw-r--r-- | src/stable/server.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stable/server.cpp b/src/stable/server.cpp index 7d82439..e4769a5 100644 --- a/src/stable/server.cpp +++ b/src/stable/server.cpp | |||
@@ -8,7 +8,6 @@ | |||
8 | #include "bu/server.h" | 8 | #include "bu/server.h" |
9 | #include <errno.h> | 9 | #include <errno.h> |
10 | #include <unistd.h> | 10 | #include <unistd.h> |
11 | #include <poll.h> | ||
12 | #include "bu/tcpserversocket.h" | 11 | #include "bu/tcpserversocket.h" |
13 | #include "bu/client.h" | 12 | #include "bu/client.h" |
14 | #include "bu/tcpsocket.h" | 13 | #include "bu/tcpsocket.h" |
@@ -47,8 +46,6 @@ void Bu::Server::setTimeout( int nTimeoutSec, int nTimeoutUSec ) | |||
47 | { | 46 | { |
48 | this->nTimeoutSec = nTimeoutSec; | 47 | this->nTimeoutSec = nTimeoutSec; |
49 | this->nTimeoutUSec = nTimeoutUSec; | 48 | this->nTimeoutUSec = nTimeoutUSec; |
50 | // struct timespec xTimeout = { nTimeoutSec, nTimeoutUSec }; | ||
51 | // ppoll( NULL, 0, &xTimeout, NULL ); | ||
52 | } | 49 | } |
53 | 50 | ||
54 | void Bu::Server::scan() | 51 | void Bu::Server::scan() |