文件名称:RawPacket
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 35kb
- 下载次数:
- 0次
- 提 供 者:
- 黄**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
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
.........\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