Modify the TCP server and client echo programs posted above
You Are Eligible For 15% Discount This Month!
Modify the TCP server and client echo programs posted above as the following: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 pointsIf the client sends “goodbye”, the connection between the client and server is terminated. – 30 pointsNote: 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
Leave a Reply
Want to join the discussion?Feel free to contribute!