From: Andrew M. Kuchling Date: Sat, 10 Jul 2004 14:19:21 +0000 (+0000) Subject: [Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant X-Git-Tag: v2.4a2~344 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42851ab4905aea2e1253fa46bbb718abddeeab84;p=python [Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 6e2166cd71..1b17e312eb 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