Skip to content

Commit 42851ab

Browse files
committed
[Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant
1 parent 5fcefdb commit 42851ab

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Modules/socketmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3883,6 +3883,10 @@ init_socket(void)
38833883
#ifdef SO_REUSEADDR
38843884
PyModule_AddIntConstant(m, "SO_REUSEADDR", SO_REUSEADDR);
38853885
#endif
3886+
#ifdef SO_EXCLUSIVEADDRUSE
3887+
PyModule_AddIntConstant(m, "SO_EXCLUSIVEADDRUSE", SO_EXCLUSIVEADDRUSE);
3888+
#endif
3889+
38863890
#ifdef SO_KEEPALIVE
38873891
PyModule_AddIntConstant(m, "SO_KEEPALIVE", SO_KEEPALIVE);
38883892
#endif

0 commit comments

Comments
 (0)