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
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