summaryrefslogtreecommitdiff
path: root/include/apr_network_io.h
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-10-22 20:05:35 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-10-22 20:05:35 +0000
commit6eae37709ae3a5db93571c2a9710f0a9786e8bae (patch)
treea4de99b55c914b9e92e8b650890e2493b9845cb7 /include/apr_network_io.h
parent95574fe5eaa4fb1018e24a56b106c9f500210271 (diff)
downloadlibapr-6eae37709ae3a5db93571c2a9710f0a9786e8bae.tar.gz
map the TCP_NODELAY socket option to SCTP_NODELAY as appropriate
Submitted by: Randall Stewart <randall@stewart.chicago.il.us> Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63970 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_network_io.h')
-rw-r--r--include/apr_network_io.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/apr_network_io.h b/include/apr_network_io.h
index 672e5cd04..6416e2685 100644
--- a/include/apr_network_io.h
+++ b/include/apr_network_io.h
@@ -103,7 +103,9 @@ extern "C" {
#define APR_SO_SNDBUF 64
#define APR_SO_RCVBUF 128
#define APR_SO_DISCONNECTED 256
-#define APR_TCP_NODELAY 512
+#define APR_TCP_NODELAY 512 /**< For SCTP sockets, this is mapped
+ * to STCP_NODELAY internally.
+ */
#define APR_TCP_NOPUSH 1024
#define APR_RESET_NODELAY 2048 /**< This flag is ONLY set internally
* when we set APR_TCP_NOPUSH with