CS435 Lab 5: A Client/Server Bandwidth Test
Both Labs 5 and 6 Due Wednesday, April 4, at 12:00 PM
Create a protocol for bandwidth tests. The client should initiate the test. The server will wait for a client, then once a client connects, will transfer enough data to assess the speed of the network connection. Issues that must be handled:
For this lab, you can assume latency is reasonably consistent during the test. One possibility is to determine the latency for a round trip, and arrange for the client to send an immediate response once the transfer has been completed. The round trip latency can then be subtracted from the time required for the transfer.
- Networks have some amount of latency. Remember to account for this.
- Clocks may not be exactly the same on the client and server, so don't assume that the server can timestamp the beginning of the transfer and the client can compare the timestamp with it's own clock after the transfer.
Upload a file describing your protocol in the usual location. Lab 6 will require writing a client and server to implement the protocol, so do some thinking about whether or not the protocol will work!