Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students also viewed these Databases questions

Question

L A -r- P[N]

Answered: 1 week ago