From 42851ab4905aea2e1253fa46bbb718abddeeab84 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Sat, 10 Jul 2004 14:19:21 +0000 Subject: [PATCH] [Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant --- Modules/socketmodule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 6e2166cd71e..1b17e312eb4 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -3883,6 +3883,10 @@ init_socket(void) #ifdef SO_REUSEADDR PyModule_AddIntConstant(m, "SO_REUSEADDR", SO_REUSEADDR); #endif +#ifdef SO_EXCLUSIVEADDRUSE + PyModule_AddIntConstant(m, "SO_EXCLUSIVEADDRUSE", SO_EXCLUSIVEADDRUSE); +#endif + #ifdef SO_KEEPALIVE PyModule_AddIntConstant(m, "SO_KEEPALIVE", SO_KEEPALIVE); #endif