Question: Consider a simple UDP-based protocol for requesting files (based somewhat loosely on the Trivial File Transport Protocol [TFTP]). The client sends an initial file request,

Consider a simple UDP-based protocol for requesting files (based somewhat loosely on the Trivial File Transport Protocol [TFTP]). The client sends an initial file request, and the server answers (if the file can be sent) with the first data packet. Client and server then continue with a stop-and-wait transmission mechanism.

(a) Describe a scenario by which a client might request one file but get another; you may allow the client application to exit abruptly and be restarted with the same port.

(b) Propose a change in the protocol that will make this situation much less likely.

Step by Step Solution

3.41 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Here is one scenario where a client might request one file but gets another The client might send a request to the server for a specific file lets c... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Networking Questions!