Link to home
Start Free TrialLog in
Avatar of Member_2_5194534
Member_2_5194534

asked on

TClientSocket.SendStream is slow...

I wanted to know, if there's a way to send a stream (which size is over 1.5mb) faster than .SendStream method ?

because, it sends it to me from another PC 1360 bytes each "send"...

my question is, if i will write my own algorithm with a buffer size of 16kb, will it do any change ? i don't think it's the buffer size.. i think it's a protocol-level issue...

if i run server/client on same PC, it sends it instantly... but if it's in another PC (less than 20ms ping) it takes like 10 seconds or so...
ASKER CERTIFIED SOLUTION
Avatar of developmentguru
developmentguru
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial