The UDP client sends 20 messages to the UDP server programming homework help

Hire our professional essay experts at Gradehunters.net who are available online 24/7 for an essay paper written to a high standard at an affordable cost.


Order a Similar Paper Order a Different Paper

Before reading this specification, you have to understand the protocol and architecture of UDP client and server programs described on the slides above.

Attached are two UDP client and server programs written in C. These programs work on Linux (e.g., Ubuntu). To compile these, type “gcc –o client client.c” and “gcc –o server server.c” in a terminal on Ubuntu. To run these, type ./client and ./server for each terminal.

Modify the UDP client and server posted above.

  1. The UDP client sends 20 messages to the UDP server. (10 Points)
  2. The UDP server replies to the client whenever 5 messages are received (or delivered), so the client receives only 4 messages from the server. (10 Points)
  3. The UDP server does not reply if any of 5 messages is not delivered. (8 Points).
  4. Identify whether a received message (5th message) is an alphabet or a digit in the UDP server posted above. If the message is a digit, the server sends the same message to the client. If the message is an alphabet, the server sends the following message — “This is not a digit” to the client. Thus, the UDP client receives a digit or “This is not a digit” after sending 5th message. (12 Points)
Writerbay.net

Everyone needs a little help with academic work from time to time. Hire the best essay writing professionals working for us today!

Get a 15% discount for your first order


Order a Similar Paper Order a Different Paper