bpo-29728: Provide socket.TCP_NOTSENT_LOWAT (#477)

* Provide socket.TCP_NOTSENT_LOWAT
* New TCP option available on recent MacOS and Linux.
* Document addition of TCP_NOTSENT_LOWAT
This commit is contained in:
Nathaniel J. Smith 2017-03-22 20:56:55 -07:00 committed by Mariatta
parent fad7f15606
commit 1e2147b9d7
3 changed files with 9 additions and 0 deletions

View file

@ -7507,6 +7507,9 @@ PyInit__socket(void)
#ifdef TCP_USER_TIMEOUT
PyModule_AddIntMacro(m, TCP_USER_TIMEOUT);
#endif
#ifdef TCP_NOTSENT_LOWAT
PyModule_AddIntMacro(m, TCP_NOTSENT_LOWAT);
#endif
/* IPX options */
#ifdef IPX_TYPE