GJ.
GJ.

Reputation: 870

What API should I use to write network usage program?

I found my computer was using a lot of network bandwidth and I want to figure out which program is actually doing this in the background.

I did some research and I could not find any free software having the capability of recording the network usage of each the program; so I want to write a simple one myself.

I want to write it in C++ but I have no idea which API I can use.

Can you suggest any?

Thanks!

Upvotes: 0

Views: 333

Answers (1)

Adam Rosenfield
Adam Rosenfield

Reputation: 400224

Don't reinvent the wheel, use Process Explorer, Process Monitor, Wireshark, and/or netstat.

Upvotes: 1

Related Questions