Question: A UDP-based client-server program SEQ & ACK number game Client sends a massage with SEQ&ACK number and packet length. Server gets the mesagge, calculates and

A UDP-based client-server program

SEQ & ACK number game

Client sends a massage with SEQ&ACK number and packet length.

Server gets the mesagge, calculates and sends back its SEQ&ACK number and packet length.

Server has two mode auto and manual.

Auto: Server gets the client message. It decides the message corrupted or not. It calculates the numbers and sends its message automatically.

Manual: As in the client case, everything is calculated by the user.

Client or server may decide not to send message (lost packet). The other side must set a timeout and when it expires it should send the same massage again.

In auto mode, client should be able to detect duplicate or lost packets.

In manual mode, server and client should be able to detect duplicate or lost packets.

With Java please

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!