aboutsummaryrefslogtreecommitdiff
path: root/src/stable
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stable/server.cpp b/src/stable/server.cpp
index e4769a5..7d82439 100644
--- a/src/stable/server.cpp
+++ b/src/stable/server.cpp
@@ -8,6 +8,7 @@
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>
11#include "bu/tcpserversocket.h" 12#include "bu/tcpserversocket.h"
12#include "bu/client.h" 13#include "bu/client.h"
13#include "bu/tcpsocket.h" 14#include "bu/tcpsocket.h"
@@ -46,6 +47,8 @@ void Bu::Server::setTimeout( int nTimeoutSec, int nTimeoutUSec )
46{ 47{
47 this->nTimeoutSec = nTimeoutSec; 48 this->nTimeoutSec = nTimeoutSec;
48 this->nTimeoutUSec = nTimeoutUSec; 49 this->nTimeoutUSec = nTimeoutUSec;
50// struct timespec xTimeout = { nTimeoutSec, nTimeoutUSec };
51// ppoll( NULL, 0, &xTimeout, NULL );
49} 52}
50 53
51void Bu::Server::scan() 54void Bu::Server::scan()