Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
AnswerRe: Var Scope Pin
Guffa24-Apr-06 6:04
Guffa24-Apr-06 6:04 
QuestionReacting on MDI parent menu click Pin
Denis Shamanin24-Apr-06 4:54
Denis Shamanin24-Apr-06 4:54 
AnswerRe: Reacting on MDI parent menu click Pin
Josh Smith24-Apr-06 5:23
Josh Smith24-Apr-06 5:23 
GeneralRe: Reacting on MDI parent menu click Pin
Denis Shamanin24-Apr-06 21:14
Denis Shamanin24-Apr-06 21:14 
GeneralRe: Reacting on MDI parent menu click Pin
Denis Shamanin24-Apr-06 21:19
Denis Shamanin24-Apr-06 21:19 
GeneralRe: Reacting on MDI parent menu click Pin
Josh Smith25-Apr-06 3:37
Josh Smith25-Apr-06 3:37 
GeneralRe: Reacting on MDI parent menu click Pin
Josh Smith25-Apr-06 3:31
Josh Smith25-Apr-06 3:31 
QuestionPerformance problem with file transfer via remoting Pin
mav.northwind24-Apr-06 2:55
mav.northwind24-Apr-06 2:55 
Hi community!

I've created a simple test application to test data transfer rates when spooling files via remoting and get very strange results.
The client can either fetch a file from the server by calling a remote method
int ReadBuffer(int transferID, ref byte[] buf);
until the file has been spooled completely or upload a file to the server by calling the remote method
void WriteBuffer(int transferID, int len, byte[] buf);
until all blocks have been tranferred.
Basically what you have to do to spool a file in one direction or the other - can't get any easier, can it?

When I try this in a LAN environment, transfer is as fast as one would expect, but when used over the internet, the results are completely different.
One PC (client) has an ADSL connection: 3072kbit/s download, 384kbit/s upload, the other one (server) has a 2Mbit line up- and downstream.

I had expected the real transfer rates to reflect the asymmetric transfer rates, but upload AND download give me about 30KB/sec, although download should be a lot faster.
The weird thing is:
When I run the server program on the client PC and the client program on the server PC, then the transfer rate server PC -> client PC is up to 74KB/sec!

Copying files with Explorer is as fast as one would expect: ~35KB/sec upload and ~107KB/sec download...Confused | :confused:

Has someone experienced something similar and knows what the reason could be - or even better - what can I do to get the maximum transfer rates?

Regards,
mav

--
Black holes are the places where god divided by 0...
AnswerRe: Performance problem with file transfer via remoting Pin
Judah Gabriel Himango24-Apr-06 7:22
sponsorJudah Gabriel Himango24-Apr-06 7:22 
GeneralRe: Performance problem with file transfer via remoting Pin
mav.northwind24-Apr-06 8:10
mav.northwind24-Apr-06 8:10 
GeneralRe: Performance problem with file transfer via remoting Pin
Judah Gabriel Himango24-Apr-06 9:02
sponsorJudah Gabriel Himango24-Apr-06 9:02 
GeneralRe: Performance problem with file transfer via remoting Pin
mav.northwind25-Apr-06 0:07
mav.northwind25-Apr-06 0:07 
Questioncompilation options Pin
V.24-Apr-06 1:52
professionalV.24-Apr-06 1:52 
AnswerRe: compilation options Pin
Colin Angus Mackay24-Apr-06 2:33
Colin Angus Mackay24-Apr-06 2:33 
GeneralRe: compilation options Pin
V.24-Apr-06 2:55
professionalV.24-Apr-06 2:55 
GeneralRe: compilation options Pin
Colin Angus Mackay24-Apr-06 6:33
Colin Angus Mackay24-Apr-06 6:33 
GeneralRe: compilation options Pin
V.24-Apr-06 20:39
professionalV.24-Apr-06 20:39 
AnswerRe: compilation options Pin
J4amieC24-Apr-06 2:33
J4amieC24-Apr-06 2:33 
GeneralRe: compilation options Pin
V.24-Apr-06 2:54
professionalV.24-Apr-06 2:54 
Questionhow to make an click and drag program? Pin
fite24-Apr-06 1:24
fite24-Apr-06 1:24 
AnswerRe: how to make an click and drag program? Pin
Christian Graus24-Apr-06 1:26
protectorChristian Graus24-Apr-06 1:26 
AnswerRe: how to make an click and drag program? Pin
Naveed Kamboh24-Apr-06 1:29
Naveed Kamboh24-Apr-06 1:29 
QuestionA control that extracts information re PDF fillable fields Pin
NewbieDude24-Apr-06 1:20
NewbieDude24-Apr-06 1:20 
QuestionHow to tell when LstView finished sorting Pin
michaelbaylon24-Apr-06 0:44
michaelbaylon24-Apr-06 0:44 
AnswerRe: How to tell when LstView finished sorting Pin
Ed.Poore24-Apr-06 0:51
Ed.Poore24-Apr-06 0:51 

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.