about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/www_tcp.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2010-09-22 10:53:56 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2010-09-22 10:53:56 -0400
commitbf665822fc371159c9fc6630ab805638c58ab299 (patch)
treea85a0ee9a271bf9cde1108daca90b657f0aed5f9 /WWW/Library/Implementation/www_tcp.h
parent2bfdbc116276afc90c803427e7af7b44a0c11c66 (diff)
downloadlynx-snapshots-bf665822fc371159c9fc6630ab805638c58ab299.tar.gz
snapshot of project "lynx", label v2-8-8dev_5b
Diffstat (limited to 'WWW/Library/Implementation/www_tcp.h')
-rw-r--r--WWW/Library/Implementation/www_tcp.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h
index de91b9e0..705c41ba 100644
--- a/WWW/Library/Implementation/www_tcp.h
+++ b/WWW/Library/Implementation/www_tcp.h
@@ -1,5 +1,5 @@
 /*                System dependencies in the W3 library
- * $LynxId: www_tcp.h,v 1.42 2010/09/19 18:30:56 tom Exp $
+ * $LynxId: www_tcp.h,v 1.43 2010/09/22 00:35:17 tom Exp $
  *
                                    SYSTEM DEPENDENCIES
 
@@ -40,9 +40,14 @@ Default values
 
  */
 /* Default values of those: */
-#define NETCLOSE close		/* Routine to close a TCP-IP socket         */
-#define NETREAD  HTDoRead	/* Routine to read from a TCP-IP socket     */
-#define NETWRITE write		/* Routine to write to a TCP-IP socket      */
+	/* Routine to close a TCP-IP socket         */
+#define NETCLOSE close
+	/* Routine to read from a TCP-IP socket     */
+#define NETREAD(s,p,n) \
+	HTDoRead(s, p, (unsigned)(n))
+	/* Routine to write to a TCP-IP socket      */
+#define NETWRITE(s,p,n) \
+	write(s, p, (size_t)(n))
 #define SOCKET_READ read	/* normal socket read routine */
 #define IOCTL ioctl		/* normal ioctl routine for sockets */
 #define SOCKET_ERRNO errno	/* normal socket errno */