summaryrefslogtreecommitdiff
path: root/src/serversocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serversocket.h')
-rw-r--r--src/serversocket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/serversocket.h b/src/serversocket.h
index 0860972..88d09ec 100644
--- a/src/serversocket.h
+++ b/src/serversocket.h
@@ -39,6 +39,8 @@ namespace Bu
39 public: 39 public:
40 ServerSocket( int nPort, int nPoolSize=40 ); 40 ServerSocket( int nPort, int nPoolSize=40 );
41 ServerSocket( const FString &sAddr, int nPort, int nPoolSize=40 ); 41 ServerSocket( const FString &sAddr, int nPort, int nPoolSize=40 );
42 ServerSocket( int nSocket, bool bInit, int nPoolSize=40 );
43 ServerSocket( const ServerSocket &rSrc );
42 virtual ~ServerSocket(); 44 virtual ~ServerSocket();
43 45
44 int accept( int nTimeoutSec=0, int nTimeoutUSec=0 ); 46 int accept( int nTimeoutSec=0, int nTimeoutUSec=0 );
@@ -47,6 +49,7 @@ namespace Bu
47 49
48 private: 50 private:
49 void startServer( struct sockaddr_in &name, int nPoolSize ); 51 void startServer( struct sockaddr_in &name, int nPoolSize );
52 void initServer( struct sockaddr_in &name, int nPoolSize );
50 53
51 fd_set fdActive; 54 fd_set fdActive;
52#ifdef WIN32 55#ifdef WIN32