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.
- The UDP client sends 20 messages to the UDP server. (10 Points)
- 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)
- The UDP server does not reply if any of 5 messages is not delivered. (8 Points).
- 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)
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!
NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.