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

@ -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