Click here to Skip to main content
15,924,935 members
Home / Discussions / C#
   

C#

 
AnswerRe: divide incomming internet bandwidth Pin
Nagy Vilmos19-May-09 1:01
professionalNagy Vilmos19-May-09 1:01 
Generaldivide incomming internet bandwidth Pin
spiritboy19-May-09 20:09
spiritboy19-May-09 20:09 
Questionserver-client problem Pin
Malik009219-May-09 0:01
Malik009219-May-09 0:01 
AnswerRe: server-client problem Pin
Michael Bookatz19-May-09 0:40
Michael Bookatz19-May-09 0:40 
AnswerRe: server-client problem Pin
musefan19-May-09 0:47
musefan19-May-09 0:47 
AnswerRe: server-client problem Pin
Nagy Vilmos19-May-09 0:57
professionalNagy Vilmos19-May-09 0:57 
GeneralRe: server-client problem Pin
Malik009219-May-09 1:57
Malik009219-May-09 1:57 
GeneralRe: server-client problem Pin
Luc Pattyn19-May-09 2:32
sitebuilderLuc Pattyn19-May-09 2:32 
You rang, my Lord?

I have no experience prioritizing/throttling HTTP or TCP/IP traffic (I only did it on proprietary protocols which provided explicit support for it), however I concur the first step is to implement proper threading at the server side so each request gets one thread, and probably on the client side as well.

Since (network)streams are used, one can control the throughput explicitly, however IMO a general-purpose server would find that hard to do: it would have to figure out different requests are coming from the same client so one of them needs to be slowed down (shouldn't slow down a low-priority job for a client that has no high-priority job); and it should do so in a scalable manner.

OTOH if a client only needs a limited throughput for some transfer, it can easily organize that by inserting appropriate delays with Thread.Sleep or some timer.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: server-client problem Pin
Nagy Vilmos19-May-09 3:07
professionalNagy Vilmos19-May-09 3:07 
QuestionHow to unpack packed decimal Pin
deep718-May-09 23:48
deep718-May-09 23:48 
AnswerRe: How to unpack packed decimal Pin
Member 1456915826-Aug-19 9:43
Member 1456915826-Aug-19 9:43 
GeneralRe: How to unpack packed decimal Pin
Member 1485825810-Jun-20 4:48
Member 1485825810-Jun-20 4:48 
AnswerRe: How to unpack packed decimal Pin
Member 148582589-Jun-20 6:48
Member 148582589-Jun-20 6:48 
QuestionParametize ALTER TABLE! How ? Pin
tohi18-May-09 23:32
tohi18-May-09 23:32 
AnswerRe: Parametize ALTER TABLE! How ? Pin
tohi19-May-09 0:07
tohi19-May-09 0:07 
QuestionAdding values in combo box Pin
priyanka_jns18-May-09 23:24
priyanka_jns18-May-09 23:24 
AnswerRe: Adding values in combo box Pin
Michael Bookatz19-May-09 0:41
Michael Bookatz19-May-09 0:41 
GeneralRe: Adding values in combo box Pin
priyanka_jns19-May-09 1:28
priyanka_jns19-May-09 1:28 
QuestionLotus Notes mail Access using c# Pin
nitin_kumar18-May-09 23:17
nitin_kumar18-May-09 23:17 
QuestionHow to determine if an activeX is installed? Pin
the pink jedi18-May-09 23:04
the pink jedi18-May-09 23:04 
AnswerRe: How to determine if an activeX is installed? [modified] Pin
Mirko198018-May-09 23:59
Mirko198018-May-09 23:59 
Questionobject? Pin
dec8218-May-09 23:00
dec8218-May-09 23:00 
AnswerRe: object? Pin
OriginalGriff18-May-09 23:02
mveOriginalGriff18-May-09 23:02 
GeneralRe: object? Pin
musefan18-May-09 23:03
musefan18-May-09 23:03 
GeneralRe: object? Pin
OriginalGriff18-May-09 23:21
mveOriginalGriff18-May-09 23:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.