Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this project, you are required to enhance the ECHO client/server program that we discussed in the class. You need put up a simple client/server

image text in transcribed
In this project, you are required to enhance the ECHO client/server program that we discussed in the class. You need put up a simple client/server application to accomplish the following function: Server side program should listen on port 9999 for incoming request User(e.g. me) runs the client program to connect to server. Client program reads a sentence typed in by user via keyboard and user can select a command, then it sends both the command and the sentence to the server Upon receipt of the sentence and command, the server converts all the letters in the sentence into uppercase letters or lower letters or other format based on the command, and sends it back to the client. Client program displays the replied sentence on the screen. You need to build this application on top of either TCP or UDP sockets. 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.). A set of sample Python code has been introduced in the class, please refer to the slides of Chapter 2. Other programming languages are also allowed. You'll receive o if your programs contains syntax errors! You also need to provide a document describing your protocol, i.e., underlying transport layer service, port numbers, the order and format of message sent and received by client/server, action associated with each message, etc. The document should provide enough information for others to implement client and server program to interact with yours

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions

Question

=+1 What are the major issues related to international T&D?

Answered: 1 week ago