Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this project, you need to replicate the echo client and server program that we discussed in Chapter 2, and then you are required to
In this project, you need to replicate the echo client and server program that we discussed in Chapter 2, and then you are required to enhance the ECHO client/server program that we discussed in the class. (25%) A set of sample Python code for echo client/server using both TCP and UDP has been introduced in the class, please refer to the slides of Chapter 2. You need copy the code and test them on your computer. This will be the foundation of next step. (45%) Choose either TCP or UDP version of the echo server/client, modify it to accomplish the following function: . Server side program should accept a parameter as the port number that it will listen on for . User e-g. me) runs the client program to connect to server. Client program should accept two . The dlient program reads a sentence typed in by user via keyboard, and user can select a . Upon receipt of the sentence and command, server converts all the letters in the sentence into incoming request, if no parameter is provided, then 9999 is used by default. parameters that allow user to specify the server address and port number. command, then it sends both the command and the sentence to the server. uppercase letters or lower letters or other format based on the received command, and sends the result back to the client. Client program displays the replied sentence on the screen. . Your server should support at least three commands: all uppercase, all lowercase, and another commands that you designed(something like initial caps, reverse each word, reverse the entire sentence, etc.). Make sure test your program before submission, you'll receive o if your programs contains syntax errors Include a README document for instructions on how to run your program. (20%) You also need to providea document describing your protocol, le underlying transport layer servico post numbers the order and format of messaxe sent and received by client/server, action SAMSUNG In this project, you need to replicate the echo client and server program that we discussed in Chapter 2, and then you are required to enhance the ECHO client/server program that we discussed in the class. (25%) A set of sample Python code for echo client/server using both TCP and UDP has been introduced in the class, please refer to the slides of Chapter 2. You need copy the code and test them on your computer. This will be the foundation of next step. (45%) Choose either TCP or UDP version of the echo server/client, modify it to accomplish the following function: . Server side program should accept a parameter as the port number that it will listen on for . User e-g. me) runs the client program to connect to server. Client program should accept two . The dlient program reads a sentence typed in by user via keyboard, and user can select a . Upon receipt of the sentence and command, server converts all the letters in the sentence into incoming request, if no parameter is provided, then 9999 is used by default. parameters that allow user to specify the server address and port number. command, then it sends both the command and the sentence to the server. uppercase letters or lower letters or other format based on the received command, and sends the result back to the client. Client program displays the replied sentence on the screen. . Your server should support at least three commands: all uppercase, all lowercase, and another commands that you designed(something like initial caps, reverse each word, reverse the entire sentence, etc.). Make sure test your program before submission, you'll receive o if your programs contains syntax errors Include a README document for instructions on how to run your program. (20%) You also need to providea document describing your protocol, le underlying transport layer servico post numbers the order and format of messaxe sent and received by client/server, action SAMSUNG
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started