What is the maximum number of bytes that the server can pass to the client over the network per second ? Thanks
Printable View
What is the maximum number of bytes that the server can pass to the client over the network per second ? Thanks
The short answer is it depends.
Can you give me an avrage number of bytes per second ? Depends on What ?
HP or IBM swallow, err, server?
It depends on the hardware configuration and operating systems (more accurately, their implementation of networking) of the machines that host the client and the server. It also depends on the networking hardware, and various attributes of the networking cabling (type [coax, fibre optic, twistered pair, etc], length, quality, etc) as well as attributes of other networking devices between client and server (wireless devices, repeaters, hubs, bridges, switches, ....).
All of those things are quite variable, to say the least. So your question is meaningless.
I am using ARN microprocessor and Linux OS. as well i am using TCP sockets both client and server.Can you give me addlist an avrage number of bytes per second ?The madia is cables
Vote to close.
...later...
What are you actually asking? The answer to both is it depends. In fact, the very fact that you need this kind of information for your design stinks to high heaven. Furthermore, what does this have to do with C whatsoever?
The entire thread might as well be asking "How fast is a car?".
Without any specific details, specifically pertaining to hardware of the client, the server, and any link between, your question is impossible to answer. If you're trying to optimize network throughput in your program, usually this is fruitless anyway. The delay is almost invariably caused by something out of your control, such as the ISP.
Average Speed 100mbs
Standard Deviation 1000mbs
First you look at the network cards plugged into (or built onto the motherboard) of each device, and work out whether it's a 10Mb or 100Mb (or if you're really lucky 1000Mb) capable NIC.
Then you look at each router / switch / hub/ between them, and work out what they're rated at as well.
The network speed will be the lowest number you find.
Then you look at the general quality of all your cables along the route to try and estimate how reliable the link is at the physical level, to try and guess how much retrying is going on to form a reliable TCP connection. Try sending a lot of UDP packets and see how many arrive.
Next you try and estimate what the background network activity is for other processes on your machine(s) and other machine(s) on the network.