ioctl on socket
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon Jul 27 22:16:48 EDT 2009
En Mon, 27 Jul 2009 16:35:51 -0300, jacopo mondi <mondi at cs.unibo.it>
escribió:
> Is there a reason why there is no ioctl interface for socket either then
> for windows platform? It's technical issues or what else??
I don't completely understand your question. On Windows, you can use
socket.ioctl with sockets, and DeviceIoControl (from the pywin32 package)
with other files. On Linux, you have fcntl.ioctl that works with any kind
of file.
--
Gabriel Genellina
More information about the Python-list
mailing list