mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-91498: socket: Add TCP_CONNECTION_INFO on macOS (#69256)
Fixes GH-91498
This commit is contained in:
parent
b733708ca3
commit
ad9f817eeb
3 changed files with 8 additions and 0 deletions
|
@ -8213,6 +8213,9 @@ PyInit__socket(void)
|
|||
#ifdef TCP_INFO
|
||||
PyModule_AddIntMacro(m, TCP_INFO);
|
||||
#endif
|
||||
#ifdef TCP_CONNECTION_INFO
|
||||
PyModule_AddIntMacro(m, TCP_CONNECTION_INFO);
|
||||
#endif
|
||||
#ifdef TCP_QUICKACK
|
||||
PyModule_AddIntMacro(m, TCP_QUICKACK);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue