使用C程序监控网络流量

使用C程序监控网络流量

本文介绍了使用C程序监控网络流量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想知道如何监控网络流量,就像在wireshark中一样。

我用Google搜索了大部分内容答案是,使用像winpcap这样的库。

但我不想使用这种方法。我想知道一个人必须做些什么来监控核心网络流量,以及c / c ++。

我是否必须使用NIC的驱动程序或者是否有我遗漏的东西。



谢谢。

解决方案

Hi all,

I was wondering how i would monitor network traffic, like in wireshark.
I have googled and most of the answers are, to use a library like winpcap.
But i dont want to use this method. I want to know what exactly one must do to be able to monitor network traffic at the core, and also with c/c++.
Do I have to use the NIC's driver or is there something I am missing.

Thanks.

解决方案


这篇关于使用C程序监控网络流量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 02:24