summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-04 12:55:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-04 12:55:27 (GMT)
commitca2077254b3c3118ef7c50acd16e948771a1b410 (patch)
tree821da9f44bd3dcf3d64624eb0a1cec59b7015104 /generic/tcl.h
parent99fa27bc91a4e621c42b109d784bc72d26e8ea1d (diff)
parenta2c66d61f0e05792f61868e5e1228672b38d555f (diff)
downloadtcl-ca2077254b3c3118ef7c50acd16e948771a1b410.zip
tcl-ca2077254b3c3118ef7c50acd16e948771a1b410.tar.gz
tcl-ca2077254b3c3118ef7c50acd16e948771a1b410.tar.bz2
TIP [http://www.tcl.tk/cgi-bin/tct/tip/456|456] implementation: Extend the C API to Support Passing Options to TCP Server Creation
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index d1bf47f..c0cee27 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2372,6 +2372,13 @@ typedef int (Tcl_ArgvGenFuncProc)(ClientData clientData, Tcl_Interp *interp,
/*
*----------------------------------------------------------------------------
+ * Definitions needed for the Tcl_OpenTcpServerEx function. [TIP #456]
+ */
+#define TCL_TCPSERVER_REUSEADDR (1<<0)
+#define TCL_TCPSERVER_REUSEPORT (1<<1)
+
+/*
+ *----------------------------------------------------------------------------
* Single public declaration for NRE.
*/