mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
[Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user