如何在Windows中监视TCP连接 [英] How do I monitor TCP Connections in windows

查看:643
本文介绍了如何在Windows中监视TCP连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用C#或VB编写程序来监视我的Windows计算机上的应用程序所做的TCP / IP连接,并了解连接参数。任何人都可以帮助如何实现类似的东西.. ???

谢谢

I want to write a program in C# or VB to monitor TCP/IP connection made by applications on my windows computer and to know the connections parameters as well. Can anyone help on how to implement something like that..???
Thanks

推荐答案

这是可能的。



首先,请参阅此CodeProject文章: C#中的网络嗅探器 [ ^ ]。



您可以尝试查找其他内容: http ://bit.ly/1uFOgiu [ ^ ]。



也许您甚至可以在源代码中找到其他内容: http://bit.ly/1uFONRl [ ^ ]。



只是不要指望VB.NET解决方案;任何.NET开源解决方案都足以满足您的需求。最有可能的是,它将是C#。它更有可能在C / C ++中找到一些东西,但我不确定它是否适合你。无论如何要做一些搜索。



-SA
This is possible.

First of all, please see this CodeProject article: A Network Sniffer in C#[^].

You can try to find something else: http://bit.ly/1uFOgiu[^].

Maybe you can even find something else in source code: http://bit.ly/1uFONRl[^].

Only don't expect VB.NET solution; any .NET open-source solution will be good enough for your. Most likely, it would be C#. It's even more likely to find something in C/C++, but I'm not sure it could suite you. Do some search, anyway.

—SA


这篇关于如何在Windows中监视TCP连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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