CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - netarp
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - netarp - List
[
OS program
]
netArp
DL : 0
相信各位都玩过SOCKET编程,用CSocket进行网络通讯非常方便,但有时想搞点底层点东西却非常麻烦,用windows的API最低也只能SOCK_RAW,顶多能看到IP层数据,如果想处理数据链路层的数据就无从下手了,幸好某天发现了winpcap东西。用了它处理底层的东西就非常方便。 winpcap主要有两个dll供程序员直接调用,pcap.dll和packet.dll,本程序主要使用pcap.dll.详细请看代码,本人也是刚接触WinPcap,所以一不定有一些错漏的地方,请各位大蝦不要见笑。 如果程序有编译不过去的地方,请务必先按装winPcap库,更新VC6的PlatformSDK
Update
: 2008-10-13
Size
: 47.24kb
Publisher
:
iie9615
[
Sniffer Package capture
]
netArp
DL : 0
相信各位都玩过SOCKET编程,用CSocket进行网络通讯非常方便,但有时想搞点底层点东西却非常麻烦,用windows的API最低也只能SOCK_RAW,顶多能看到IP层数据,如果想处理数据链路层的数据就无从下手了,幸好某天发现了winpcap东西。用了它处理底层的东西就非常方便。 winpcap主要有两个dll供程序员直接调用,pcap.dll和packet.dll,本程序主要使用pcap.dll.详细请看代码,本人也是刚接触WinPcap,所以一不定有一些错漏的地方,请各位大蝦不要见笑。 如果程序有编译不过去的地方,请务必先按装winPcap库,更新VC6的PlatformSDK -I am sure we all played SOCKET programming, use CSocket for network communication is very convenient, but sometimes want to point at the bottom of things is very troublesome, with the lowest API of windows can only SOCK_RAW, at most able to see IP layer data, if you want to deal with data link layer data can never gain the upper hand, and fortunately found one day things WinPcap. Deal with it on the bottom of things very convenient. WinPcap has two main dll programmers for direct call, pcap.dll and packet.dll, the main use of this procedure pcap.dll. details please see the code, and I was a刚接触WinPcap, so one has some mistakes in the indeterminate place, please not a laughing stock of shrimp. If the program does not have to compile the last place, be sure to press installed Winpcap library updated VC6 the PlatformSDK
Update
: 2025-02-17
Size
: 47kb
Publisher
:
iie9615
[
OS program
]
netArp
DL : 0
Update
: 2025-02-17
Size
: 63kb
Publisher
:
omokimi
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.