performance - controlling ethernet speeds in lan c++ windows -


i wondering if possible limit/control ethernet upload , download speeds on specific transport layers (tcp/udp) using c++? trying make simple use program can control speeds of device ethernet connected to. example: computer b connected computer via internet connection sharing, use program limit computer b's download or upload speed 120kbs (or number choose), choose udp or tcp.

basically, want create own program similar net limiter , other such software, want add own features many of lack needs. these other features easy enough, have no idea how go actual limting process.

the way forward in general case ask create virtual network adapter , monitored route traffic through it. once done, can monitor streams between hosts or on specific ports.

not easy job... starting point windows device driver kit.

if prepared limit 1 app, , modify it, task simpler... wget , curl example both offer limiting.

hth, ruth


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -