Vb prxoy像app一样捕获单个应用程序的数据包. [英] Vb prxoy like app to capture packets of single application.

查看:66
本文介绍了Vb prxoy像app一样捕获单个应用程序的数据包.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个应用程序,以捕获某些程序通过互联网发送或接收的所有数据包.基本上在端口80或TCP协议上.

我不知道从哪里开始,我看着winpcap,但是它在c/c ++中,我对此不太满意.也有一个名为pcap.net的包装库,但问题是它们捕获的不是网络上特定应用程序的数据包.另外pcap/winpcap仅在有网卡时才起作用,我使用的是移动调制解调器,但在那里不起作用.

I want to make an application that would capture all the packets that a certain programs sends or receives over the internet. Basically on port 80 or the TCP protocol.

I have no idea where to start, i looked at winpcap but it is in c/c++ and I am not comfortable with it. Also there is a wrapper library called pcap.net but thee problem is that they capture packets on the network not for a specific application. Also pcap/winpcap works only when there is a network card, I use mobile modem and it doesn''t work there.

Any solutions?

推荐答案

您无法捕获应用程序的数据包.

您必须先查看所有内容,然后根据应用程序正在侦听的端口过滤所拥有的内容.

WinPCap和PCap.NET是最容易使用的库.如果您不能使用它们,那么...
You can''t capture packets of an application.

You''d have to look at everything, then filter what you''ve got based on the port the application was listening to.

WinPCap and PCap.NET are the easiest libraries to use. If you can''t use them, well...


这篇关于Vb prxoy像app一样捕获单个应用程序的数据包.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆