summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-04 15:23:30 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-04 15:23:30 (GMT)
commit04ae916fa236099956bf62fcbf3567cac0f3ce2d (patch)
tree6baaee6b2666bb9b372126fe33a653297bc3cb3b /Lib/socket.py
parent951300e39f76ccc70178a6d0499b585a6eb8652e (diff)
downloadcpython-04ae916fa236099956bf62fcbf3567cac0f3ce2d.zip
cpython-04ae916fa236099956bf62fcbf3567cac0f3ce2d.tar.gz
cpython-04ae916fa236099956bf62fcbf3567cac0f3ce2d.tar.bz2
Added interface to Windows' WSAIoctl and a simple example for a network sniffer.
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index 30be5c5..7ce2869 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -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',)