Added interface to Windows' WSAIoctl and a simple example for a network sniffer.

This commit is contained in:
Christian Heimes 2008-01-04 15:23:30 +00:00
parent 951300e39f
commit 04ae916fa2
5 changed files with 953 additions and 865 deletions

View file

@ -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',)