Windows API to get netstat -s statistics

api, c++, netstat, windows

Solution

You can use the `GetIpStatistics()` function.

See here for more information and example:

http://msdn.microsoft.com/en-us/library/aa365959(VS.85).aspx

Problem

I'm searching a windows API that return the same statistics of netstat -s

Original source