mirror of https://github.com/python/cpython
[Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant
This commit is contained in:
parent
5fcefdb326
commit
42851ab490
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue