mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Added interface to Windows' WSAIoctl and a simple example for a network sniffer.
This commit is contained in:
parent
951300e39f
commit
04ae916fa2
5 changed files with 953 additions and 865 deletions
|
@ -141,7 +141,7 @@ _socketmethods = (
|
|||
'bind', 'connect', 'connect_ex', 'fileno', 'listen',
|
||||
'getpeername', 'getsockname', 'getsockopt', 'setsockopt',
|
||||
'sendall', 'setblocking',
|
||||
'settimeout', 'gettimeout', 'shutdown')
|
||||
'settimeout', 'gettimeout', 'shutdown', 'ioctl')
|
||||
|
||||
if sys.platform == "riscos":
|
||||
_socketmethods = _socketmethods + ('sleeptaskw',)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue