Question: For this assignment you are to implement both a TCP server and a TCP client piece of software. You may use any high level language

For this assignment you are to implement both a TCP server and a TCP client piece of software. You may use any high level language that provides built in networking support.

The server is to accept a connection from a client and receive a text message of no more than 256 characters. It will convert the message to an encoded message as detailed next. Your server will convert each character by replacing it with the next character in the ASCII sequence. For example the message: Hello World would become Ifmmp!Xpsme

You must also write a client that will connect to the server using the same port and then pass a message to the server. The server will respond with the message converted to the encoded string. The client will then display the converted message to the monitor.

Both programs need to perform a reasonable amount of error checking, be well documented, and include a set of user instructions. Upon an error, issue an appropriate error message and then continue.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!