On Tue, 3 Dec 2002, Graham Bloice wrote: > According to Source Navigator (and windows find) the only ?? places > including winsock.h are Packet32.h and BPF.h in WinPCap, and 109 headers in > Net-SNMP which I can't be bothered to enumerate. > > Winsock2.h is only included by 7 headers, 2 in wiretap and 5 in epan. > > Are we fighting a fundamental mismatch here, and should Ethereal revert back > to winsock.h ? I'll try a test build later today.
C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDOWS.H contains the following (on my system, at least): #if(_WIN32_WINNT >= 0x0400) #include <winsock2.h> #include <mswsock.h> #else #include <winsock.h> #endif /* _WIN32_WINNT >= 0x0400 */ Could this be part of the issue?
