看到了,win2000应该支持的,但是我的程序编译通不过啊?
怎么办?
Winsock 1.1 Win9x with WinNT 4.0 Windows 2000
(all platforms) Winsock 2
Raw I[CG]MP No Yes Yes Yes
IP_HDRINCL No No No Yes
Raw TCP/UDP No No No No
These stacks do not support raw IP or "packet capturing" from the Winsock layer.
Notice that raw TCP and UDP ar'nt possible directly under Winsock 2. Instead ,
you must use IP_HDRINCL and build your own IP and TCP or UDP headers.
Under Windows NT and Windows 2000,only userss that are members of the Administrator group can open raw sockets.