Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: RawPacket Download
 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.
 Downloaders recently: [More information of uploader haidong_huang]
  • [udpDump] - winpcap use the data dump udp
  • [winpcap] - WinPcap development, the implementation
  • [WinPcap_Ethernet] - WinPcap capture and analysis of Ethernet
File list (Check if you may need any files):
RawPacket
.........\RawPacket
.........\.........\Includes.h
.........\.........\main.cpp
.........\.........\NetworkStuff.h
.........\.........\RawPacket.aps
.........\.........\RawPacket.h
.........\.........\RawPacket.vcproj
.........\.........\RawPacket.vcproj.E58AEB3F9A6342E.XHTML.user
.........\.........\RawPacket.vcproj.Perl-PC.Perl.user
.........\.........\Release
.........\.........\.......\BuildLog.htm
.........\.........\.......\mt.dep
.........\.........\.......\RawPacket.exe.intermediate.manifest
.........\.........\.......\vc90.idb
.........\.........\WinStuff.h
.........\RawPacket.sln
.........\Release
    

CodeBus www.codebus.net