mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
@@ -256,6 +256,8 @@ SO_SNDLOWAT: int
|
||||
SO_SNDTIMEO: int
|
||||
SO_TYPE: int
|
||||
SO_USELOOPBACK: int
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 11):
|
||||
SO_INCOMING_CPU: int
|
||||
TCP_CORK: int
|
||||
TCP_DEFER_ACCEPT: int
|
||||
TCP_FASTOPEN: int
|
||||
|
||||
@@ -366,6 +366,8 @@ if sys.platform == "linux" and sys.version_info >= (3, 9):
|
||||
)
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 10):
|
||||
from _socket import IPPROTO_MPTCP as IPPROTO_MPTCP
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 11):
|
||||
from _socket import SO_INCOMING_CPU as SO_INCOMING_CPU
|
||||
if sys.platform == "win32":
|
||||
from _socket import (
|
||||
RCVALL_IPLEVEL as RCVALL_IPLEVEL,
|
||||
|
||||
Reference in New Issue
Block a user