Question
Create a UDP client, in python, that will do all of the below requirements. udp_client.py: Your UDP client should be able to conduct multiple measurements
Create a UDP client, in python, that will do all of the below requirements.
udp_client.py:
Your UDP client should be able to conduct multiple measurements to the UDP server and report RTT and loss rate values. The UDP server provided to you will randomly delay the UDP responses and drop responses. You should conduct 100 measurements to compute average RTT and loss rate.
Measuring RTT: You can measure the RTT in terms of the time it takes to send a message to the server and receive the response back from the server. To conduct multiple RTT measurements, your UDP client should send multiple messages to the server (and receive multiple responses back).
Measuring loss rate: You can expect the RTT values to be less than 5 seconds. Thus, you can use timeouts to mark a UDP message as lost if you do not receive the response from the server within 5 seconds.
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