Welcome![Sign In][Sign Up]
Location:
Search - how i can use WinPcap

Search list

[Sniffer Package capturesendpacket

Description: 使用winpcap可以将数据包发送到网络上,这是libpcap在linux下无法实现的-Use WinPcap packet can be sent to the network, which is in the libpcap can not be achieved under linux
Platform: | Size: 1024 | Author: 迟勇 | Hits:

[Linux-UnixRawPacket

Description: In this article, I will explain how to create UDP packets and then send them to a remote server through the Internet using WinPCap for Windows. The code has been tested to work with Windows XP SP2 and Vista SP1 on Linksys routers, and on Toshiba modems connected directly to the Internet. Please note that the code here is very minimalistic, and can be greatly expanded depending on your needs. The reason I use WinPCap in this article is that it solves the issue of Winsock for Windows (XP SP2 and above) not allowing raw UDP packets to be sent (in Linux, you can just use regular sockets). With WinPcap, it is possible to specify your own source IP and source hardware addresses in packets.
Platform: | Size: 35840 | Author: 黄海栋 | Hits:

CodeBus www.codebus.net