Question: A UDP-based client-server program Flow control game Server and client side have the same initial buffer size. Client sends a massage with rwnd number and
A UDP-based client-server program
Flow control game
Server and client side have the same initial buffer size.
Client sends a massage with rwnd number and packet length.
Server gets the mesagge, calculates and sends back its rwnd number and packet length.
Server also simulates the running state of its side. It increase its buffer size in every 30 seconds.
Again server has two modes, auto and manual.
Client should be able to stop if there is not enough buffer.
Server should be able to send an additional packet when there is enough buffer.
Auto: Server gets the client message. It decides the message is corrupted or not. It calculates the numbers and sends its message automatically.
Manual: As in the client case, everything is calculated by the user. Code should written with Java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
