Well i'm thinking of developing an application for bandwidth limitation and adjustment in a LAN. I dont have much experience though in programming. This is my first attemp to do something serious.
I'd like to know at first if there is a way to achieve this using C, and if so some tips to get me started.
-one idea is to program each protocol seperately e.g. TCP UDP etc
ty in advance
-any libraries relevant or functions would be helpfull
Is this on a per-PC basis, or as a whole through some firewall to the network at large?
Firewall appliances like say IPCop include some rate limiting features.
You also need to look up "traffic shaping"
it is meant to be on a per-pc basis.
> I dont have much experience though in programming. This is my first attemp to do something serious.
I would suggest you need to get a bit more experience then, especially with network programming.
Did your further research lead anywhere, or are you waiting for us to tell you everything you need to know?
my research led me to my books for now. too many things i must learn.. about networking at most(the more you learn, the more you know you must learn). This project is meant to get started at September but since i thought of it i' m thinking it over so that i can organize it's structure.
"traffic shaping" proved to be a good search key
Good, at least you've got plenty of time to get studying.
Much better than some people who show up with similar questions which for some reason need to be done by the end of the week, or some other miraculous time frame.
Perhaps start with simple "relays" which just forward data without any other interference.
do you think it's possible instead of programming protocols to use some sort of time sharing algorithm(like round robin) to achieve it?
since bandwidth is measured in bps, why not divide time to hosts? (at least in theory sounds good, just an idea haven't checked it)