Jump to content

Limit Bandwidth

- - - - -

  • Please log in to reply
No replies to this topic

#1
molotov

molotov

    Newbie

  • Members
  • Pip
  • 1 posts
Hi all, I have a stupid question.
I'm working on an application composed by several processes.
I want to limit the bandwidth occupied by each process.
I searched for a solution to my problem for a long time but the best one I found is to use an LSP.
Now, my first problem is that an LSP is available under windows only, and I'm working under linux.

My second problem is that I don't think this one is a real solution for me, because:
(downloading)
-Each process make a request to an http server
-The servers send back several answers

But each server don't know that I don't want my whole bandwidth occupied by its answer only.
So the result will be that, if each process have to recive 10kb, some processes will end recive before the other processes end.

In an ideal situation I want every process end at the same time because the bit-rate is the same for each process.

If I am always a client, is there a solution to my problem?

Thanks
(I'm sorry for my bad english)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users