diff options
author | deva <deva> | 2008-10-08 10:47:25 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-08 10:47:25 +0000 |
commit | 8bbcc59fd1488833a4d8dd346b6e8fec2a0021a8 (patch) | |
tree | 0e55747eba091461ec21f162b295ebb033666c44 /server/src/tcpsocket.h | |
parent | e2120257dda4d91b48bb031a96edda810ce30dfb (diff) |
Connections to Pentominos and Database are now persistent over the entire client connection.
Diffstat (limited to 'server/src/tcpsocket.h')
-rw-r--r-- | server/src/tcpsocket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/tcpsocket.h b/server/src/tcpsocket.h index 4771d10..6819537 100644 --- a/server/src/tcpsocket.h +++ b/server/src/tcpsocket.h @@ -147,6 +147,7 @@ public: * Reads bytes from the socket into a buffer. * @param buf The buffer into which the data will be written. * @param size The maximum number of bytes to read in (the size of the buffer). + * @parasm timeout The timeout in ms, -1 is no timeout. -1 is default. * @return The actual number of bytes read. */ int read(char *buf, int size, long timeout = -1) throw(TCPReadException); |