gh-91498: socket: Add TCP_CONNECTION_INFO on macOS (#69256)

Fixes GH-91498
This commit is contained in:
David CARLIER 2022-04-27 13:47:17 +01:00 committed by GitHub
parent b733708ca3
commit ad9f817eeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -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