From 8bbcc59fd1488833a4d8dd346b6e8fec2a0021a8 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 8 Oct 2008 10:47:25 +0000 Subject: Connections to Pentominos and Database are now persistent over the entire client connection. --- server/src/tcpsocket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'server/src/tcpsocket.h') 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); -- cgit v1.2.3