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.
精彩评论