about summary refs log tree commit diff
path: root/src/base
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-09-23 07:43:41 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-09-23 07:43:41 +0000
commit33b50738e63a3c79861bcfd88cb39377f85776c4 (patch)
treea7857f0b219e02337da6d8a1a6b66693760b9b6e /src/base
parente21b6983abaefd0037435c76e9b41cfbbfbe51d5 (diff)
downloadzcatch-33b50738e63a3c79861bcfd88cb39377f85776c4.tar.gz
zcatch-33b50738e63a3c79861bcfd88cb39377f85776c4.zip
added dead reckoning to the characters
Diffstat (limited to 'src/base')
-rw-r--r--src/base/system.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/system.h b/src/base/system.h
index 772ebf91..49ab26d6 100644
--- a/src/base/system.h
+++ b/src/base/system.h
@@ -632,7 +632,9 @@ int net_tcp_send(NETSOCKET sock, const void *data, int size);
 		max_size - Maximum of data to write to the buffer.
 		
 	Returns:
-		Number of bytes recvived. Negative value on failure.
+		Number of bytes recvived. Negative value on failure. When in
+		non-blocking mode, it returns 0 when there is no more data to
+		be fetched.
 */
 int net_tcp_recv(NETSOCKET sock, void *data, int maxsize);