From b4ab27db8a97f0a56a61bd56480cfbe08a1f3399 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 26 Mar 2009 17:00:35 +0000 Subject: Added some more constructors to the ServerSocket, and also switched the write function in Bu::Formatter to take a void *, what was I thinking? --- src/serversocket.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/serversocket.h') 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 public: ServerSocket( int nPort, int nPoolSize=40 ); ServerSocket( const FString &sAddr, int nPort, int nPoolSize=40 ); + ServerSocket( int nSocket, bool bInit, int nPoolSize=40 ); + ServerSocket( const ServerSocket &rSrc ); virtual ~ServerSocket(); int accept( int nTimeoutSec=0, int nTimeoutUSec=0 ); @@ -47,6 +49,7 @@ namespace Bu private: void startServer( struct sockaddr_in &name, int nPoolSize ); + void initServer( struct sockaddr_in &name, int nPoolSize ); fd_set fdActive; #ifdef WIN32 -- cgit v1.2.3