Computer Networks homework

Computer Networks homework

Modify the TCP server and client echo programs posted above as the following:

  1. Identify whether a received message is an alphabet or a digit in the TCP 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. – 70 points
  2. If the client sends “goodbye”, the connection between the client and server is terminated. – 30 points

Note: Please see the detailed examples on “Project_2.pdf” posted above.

  • To compile the c programs, type “gcc –o client client.c” and “gcc –o server server.c” in a terminal on Ubuntu.
  • To run the programs, type ./server on a terminal and ./client on another terminal.
  • Submission: your client.c and server.c

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper