Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » So, I was just thinking...
Closed Thread
Old 04-18-2005, 05:26 PM   #1 (permalink)
 
Ultra Techie

Join Date: Apr 2005

Posts: 721

SkyHi

Default So, I was just thinking...

I'm not a very good programmer, so all of you experienced programmers out there, I post a question:

Would it be possible to creat a web brouser (suck as FF, or Opera, etc..) that would detect your ingoing/outgoing packets, and determine if something else is trying to use the internet, at the same time, then slowing it's usage of the connection?

For instance... say I've got open IE6.0 and I'm downloading a 100 mb program, and this new program, call it _NP_, I've typed in www.yahoo.com, therefore starting to go to that site. Now, what I would *want* it to do, if at all possible, would be to detect that IE6.0 is using most of my bandwidth, so it'll then lower it's bandwidth usage, keeping my IE6.0 bandwidth at about the same (maybe .5 kb less than before I start to go to www.yahoo.com)

Thanks for any input/replies

Steve
SkyHi is offline  
Old 04-18-2005, 08:13 PM   #2 (permalink)
 
Super Techie

Join Date: Mar 2005

Posts: 259

C.Ingram

Send a message via AIM to C.Ingram Send a message via Yahoo to C.Ingram
Default

Yes, its possible. It is not the best way to do it, though (from most angles). If you do it in the browser, you only have control over when the browser makes requests. Perhaps it uses only 2 parallel fetches instead of 5.

It would be far better to implement this at a lower level. Perhaps something firewall-like. You need to adjust the rate at which the TCP stack sends ACKs back to the web server to acknowledge the last packet and request the next. This way, you have much more accurate control.

Either way, building a browser to do this is a bad idea. If you really wanted to throttle at that level, a local proxy would be a better choice. This would allow you to use any/most existing software (depending on the type of proxy).
__________________
Christopher Ingram
Principal Consultant, Souken Group, LLC.
C.Ingram@SoukenGroup.com
(856) 392 5244 -- (866) Go Souken
C.Ingram is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On