aboutsummaryrefslogtreecommitdiff
path: root/src/serversocket.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-05-17 05:56:26 +0000
committerMike Buland <eichlan@xagasoft.com>2007-05-17 05:56:26 +0000
commite0e7932a122614a0ff566fbfd8de5776de8b9f6d (patch)
treeae87ab46b677bfd05f340051a56f1edbc94862a9 /src/serversocket.h
parentdda94f3b53e02e117e6eb5758afa1410e1664c9f (diff)
downloadlibbu++-e0e7932a122614a0ff566fbfd8de5776de8b9f6d.tar.gz
libbu++-e0e7932a122614a0ff566fbfd8de5776de8b9f6d.tar.bz2
libbu++-e0e7932a122614a0ff566fbfd8de5776de8b9f6d.tar.xz
libbu++-e0e7932a122614a0ff566fbfd8de5776de8b9f6d.zip
Lots of cool new stuff, the Server class actually works for everything except
actually interacting with clients, and the Client class is almost there, except that it doesn't really do anything yet.
Diffstat (limited to 'src/serversocket.h')
-rw-r--r--src/serversocket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serversocket.h b/src/serversocket.h
index f146d91..d2601e4 100644
--- a/src/serversocket.h
+++ b/src/serversocket.h
@@ -23,7 +23,8 @@ namespace Bu
23 ServerSocket( const FString &sAddr, int nPort, int nPoolSize=40 ); 23 ServerSocket( const FString &sAddr, int nPort, int nPoolSize=40 );
24 virtual ~ServerSocket(); 24 virtual ~ServerSocket();
25 25
26 int accept( int nTimeoutSec, int nTimeoutUSec ); 26 int accept( int nTimeoutSec=0, int nTimeoutUSec=0 );
27 int getSocket();
27 28
28 private: 29 private:
29 void startServer( struct sockaddr_in &name, int nPoolSize ); 30 void startServer( struct sockaddr_in &name, int nPoolSize );