mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
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:
parent
fad7f15606
commit
1e2147b9d7
3 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue