summaryrefslogtreecommitdiff
path: root/src/connection.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-04-02 17:35:41 +0000
committerMike Buland <eichlan@xagasoft.com>2007-04-02 17:35:41 +0000
commita8e7b44c9981dd5d65b0b97f1d2ee34927a0f2a5 (patch)
tree1aeb8bc05b80648a504937ea2ab990c6958cf7aa /src/connection.h
parentcc4604c1e22e01c31d25923ed76d1518693b7faa (diff)
downloadlibbu++-a8e7b44c9981dd5d65b0b97f1d2ee34927a0f2a5.tar.gz
libbu++-a8e7b44c9981dd5d65b0b97f1d2ee34927a0f2a5.tar.bz2
libbu++-a8e7b44c9981dd5d65b0b97f1d2ee34927a0f2a5.tar.xz
libbu++-a8e7b44c9981dd5d65b0b97f1d2ee34927a0f2a5.zip
Ok...now you can specify a timeout on the open function, 30 seconds is the
default so no programs need to be changed, it seemed like a good default to me... Still needs testing, but it should work just fine, and shouldn't effect any of our servers.
Diffstat (limited to 'src/connection.h')
-rw-r--r--src/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.h b/src/connection.h
index 7e1141d..0e991c7 100644
--- a/src/connection.h
+++ b/src/connection.h
@@ -49,7 +49,7 @@ public:
49 *@todo Make this function add log entries to a standard MultiLog if 49 *@todo Make this function add log entries to a standard MultiLog if
50 * something goes wrong. 50 * something goes wrong.
51 */ 51 */
52 bool open( const char *sAddr, int nPort ); 52 bool open( const char *sAddr, int nPort, int nSec=30 );
53 53
54 void ensureCapacity( int nSize ); 54 void ensureCapacity( int nSize );
55 55