mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +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
|
@ -16,6 +16,7 @@
|
|||
#if _MSC_VER >= 1300
|
||||
# include <winsock2.h>
|
||||
# include <ws2tcpip.h>
|
||||
# include <MSTcpIP.h> /* for SIO_RCVALL */
|
||||
# define HAVE_ADDRINFO
|
||||
# define HAVE_SOCKADDR_STORAGE
|
||||
# define HAVE_GETADDRINFO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue