You are required to write a packet sniffer. It's quite hands on project if you want a good packet sniffer written. Do a search on the net. Learn about C/C++ socket library to get started. Some website below. here and here
Um...wouldn't it be far easier to perform that function on the company's web proxy server? Most of them even have plugins to perform this exact function, so no code would actually need to be written.
发布评论
评论(3)
您需要编写一个数据包嗅探器。如果您想编写一个好的数据包嗅探器,那么这是一个相当实用的项目。在网上搜索一下。了解 C/C++ 套接字库以开始使用。下面有一些网站。
此处 和
此处
You are required to write a packet sniffer. It's quite hands on project if you want a good packet sniffer written. Do a search on the net. Learn about C/C++ socket library to get started. Some website below.
here and
here
嗯...在公司的网络代理服务器上执行该功能不是更容易吗?他们中的大多数甚至都有插件来执行这个确切的功能,因此实际上不需要编写任何代码。
Um...wouldn't it be far easier to perform that function on the company's web proxy server? Most of them even have plugins to perform this exact function, so no code would actually need to be written.
您可以使用以下代码,优点是它还可以捕获隐私浏览。
那么回调函数将是:
You can use the following code and the advantage is that it will also capture private browsing.
Then the callback function will be: