NETSTAT

Started by
1 comment, last by moore52 21 years, 8 months ago
How to write something like windows netstat, but without using iphlapi? How to get full lists of connections using only WSA? There are any api (only ws2_32.dll) to do this? The greatest help will be source example.
Advertisement
You can''t. Winsock is only a relatively high-level API for writing network applications. To write the equivalent of netstat, you''d need to either know more about the underlying implementation of the TCP/IP stack, or be using an API which exposed more infomation than winsock does.

If I had my way, I''d have all of you shot!

codeka.com - Just click it.
Look at the source for TCPDump (*nix) or WinDump (windows).

WinDump: http://windump.polito.it


This topic is closed to new replies.

Advertisement