Question
UDP PINGER As a programming project, you will implement a client and the server in Python. The client will send a message to the server
UDP PINGER
As a programming project, you will implement a client and the server in Python.
The client will send a message to the server via UDP. The server will turn around and send a packet back to the client via UDP. The client will measure the round trip time (RTT) and determine the average over 10 packets sent (as well as the loss rate, if any).
Note that the client must have a provision for a timeout, in case the sent packet is lost (or the server isn't working properly).
Gather your data using two different systems! You can use a laptop, and another laptop, etc, as the "other system.
1) You need to watch your port usage. If you don't close a port when your program completes, that port will be "busy for some amount of time (until the system frees it via a timeout.)
2) If you are logged on to one system, you are all using the same pool of port numbers. "netstat -vaun will display the used UDP ports on a system.
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