Does anyone know of a function (or set of functions) like EnumProcesses that will list all the open sockets on a system? I have been looking at the WSA functions, but they seem to need a socket. Thanks for any help.
Printable View
Does anyone know of a function (or set of functions) like EnumProcesses that will list all the open sockets on a system? I have been looking at the WSA functions, but they seem to need a socket. Thanks for any help.
Never mind, I found the answer. I came across the source code for netstat, which is what I want to display. If anyone comes across this problem, please look at Iphlpapi for functions available from there, I am using GetTcpTable.
[ Moved thread ]