diff options
Diffstat (limited to '')
-rw-r--r-- | src/serversocket.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/serversocket.cpp b/src/serversocket.cpp index c53c80d..9c8f743 100644 --- a/src/serversocket.cpp +++ b/src/serversocket.cpp | |||
@@ -85,6 +85,11 @@ void Bu::ServerSocket::startServer( struct sockaddr_in &name, int nPoolSize ) | |||
85 | FD_SET( nServer, &fdActive ); | 85 | FD_SET( nServer, &fdActive ); |
86 | } | 86 | } |
87 | 87 | ||
88 | int Bu::ServerSocket::getSocket() | ||
89 | { | ||
90 | return nServer; | ||
91 | } | ||
92 | |||
88 | int Bu::ServerSocket::accept( int nTimeoutSec, int nTimeoutUSec ) | 93 | int Bu::ServerSocket::accept( int nTimeoutSec, int nTimeoutUSec ) |
89 | { | 94 | { |
90 | fd_set fdRead = fdActive; | 95 | fd_set fdRead = fdActive; |