Creating C++ client app for some abstract windows server - how to manage TCP connection to server speed?

Posted by Kabumbus on Stack Overflow See other posts from Stack Overflow or by Kabumbus
Published on 2011-01-07T19:44:51Z Indexed on 2011/01/08 3:53 UTC
Read the original article Hit count: 231

Filed under:
|
|
|
|

So we have some server with some address port and ip. we are developing that server so we can implement on it what ever we need for help. What are standard/best practices for data transfer speed management between C++ windows client app and server (C++)?

My main point is in how to get how much data can be uploaded/downloaded from/to client via his low speed network to my relatively super fast server. (I need it for set up of his live stream Audio/Video bit rate)

My try on explaining number 3. We do not care how fast is our server. It is always faster than needed. We care about client tyring to stream out to our server his media. he streams encoded (via ffmpeg) live video data to our server. But he has say ADSL with 500kb/s of outgoing traffic. Also he uses some ICQ or what so ever so he has less than 500 kb/s per second. And he wants to stream live video! So we need to set up our ffmpeg to encode video with respect to the bit rate user can provide. We develop server side and client side. We need a way of finding out how much user can upload per second currently (so value can change dynamically over time)

© Stack Overflow or respective owner

Related posts about c++

Related posts about Performance