Thread: Bandwidth adjustment

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    4

    Bandwidth adjustment

    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
    Last edited by thanosb; 03-31-2008 at 03:58 PM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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"
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    4
    it is meant to be on a per-pc basis.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > 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?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    4
    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

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  7. #7
    Registered User
    Join Date
    Mar 2008
    Posts
    4
    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)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. bandwidth
    By dayknight in forum Networking/Device Communication
    Replies: 4
    Last Post: 02-14-2005, 01:46 PM
  2. getting upload and download bandwidth
    By hanhao in forum C++ Programming
    Replies: 19
    Last Post: 03-19-2004, 11:19 AM
  3. retrieving number of socket being used/open & total bandwidth
    By hanhao in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-08-2004, 10:39 AM
  4. Switching frequency and Bandwidth???
    By pastecopy in forum Tech Board
    Replies: 0
    Last Post: 03-23-2003, 11:13 AM