问题
I'm searching a windows API that return the same statistics of netstat -s
回答1:
You can use the GetIpStatistics()
function.
See here for more information and example:
http://msdn.microsoft.com/en-us/library/aa365959(VS.85).aspx
来源:https://stackoverflow.com/questions/15707035/windows-api-to-get-netstat-s-statistics