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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started