diff options
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); |