如何跟踪 Win32 套接字调用和请求

发布于 2024-08-26 04:28:50 字数 103 浏览 4 评论 0原文

如何有效地跟踪发送到在 win32 计算机上侦听的套接字服务器的原始数据?我希望跟踪特定于我的服务器正在侦听的端口,因此我只能监视该流量。

我想看看数据交换是如何在线上进行的。

How can I effectively trace the raw data sent to my socket server listening on a win32 machine? I want the trace to be specific to the port my server is listening on, so I can monitor only that traffic.

I want to see how the data exchange works on the wire.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

烙印 2024-09-02 04:28:50

您可以使用:

Microsoft 网络监控

空灵

Wireshark

它们都具有丰富的过滤功能,因此对单个端口/地址或协议进行过滤应该非常容易。

相关:

You could use:

Microsoft Network Monitor
or
Ethereal
or
Wireshark

They all come with rich filtering capabilities so filtering on a single port / address or protocol should be quite easy.

Related:

凉栀 2024-09-02 04:28:50

ETW可以做到。 ETW 内置于 Windows 中,您不需要外部工具。这是 来自 technet 的博客文章

ETW can do it. ETW is built in to windows you don't need external tools. Here is blog post on that from technet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文