开发者

How To Trace Win32 Socket Calls and Requests

开发者 https://www.devze.com 2022-12-24 23:24 出处:网络
How can I effectively trace th开发者_运维技巧e 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 o

How can I effectively trace th开发者_运维技巧e 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.


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:

  • Free Network Monitor
  • How to Debug/Monitor SMTP Communications?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消