网络嗅探器还是通过使用套接字或Sharppcap进行原始处理? [英] Network sniffer or raw by using socket or sharppcap?

查看:77
本文介绍了网络嗅探器还是通过使用套接字或Sharppcap进行原始处理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用套接字,发现它们不能调用所有类型的协议-仅udp.如果有人想看,我可以显示重要的代码片段.
我正在考虑使用sharppcap.dll.但是,我不知道如何在VB.NET中使用它.

请帮忙.

Hi,

I used socket, I found that they can''t call all types of protocol - only udp. I can show important code snippets if anyone wants to see.
I am thinking to use sharppcap.dll. But, I don''t know how to use it in VB.NET.

Please help.

推荐答案

此处是有关此项目的codeproject.com文章:

SharpPcap-.NET的数据包捕获框架 [ http://www.developerfusion.com/tools/convert/csharp-to-vb/ [^ ]

祝你好运!
Here''s a codeproject.com article about it:

SharpPcap - A Packet Capture Framework for .NET[^]

Even though this is in C#, the calls are still the same and can be easily translated. The link below is to a c# to vb.net converter that could do some of the work for you.

http://www.developerfusion.com/tools/convert/csharp-to-vb/[^]

Good luck!


这篇关于网络嗅探器还是通过使用套接字或Sharppcap进行原始处理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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