Olaseni
Olaseni

Reputation: 7916

How To Trace Win32 Socket Calls and Requests

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.

Upvotes: 1

Views: 1460

Answers (2)

Naveen
Naveen

Reputation: 4110

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

Upvotes: 1

Sam Saffron
Sam Saffron

Reputation: 131112

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:

Upvotes: 5

Related Questions