Question: Overview You will submit two files for this assignment: M 1 0 A 2 client.py M 1 0 A 2 server.py They should connect to
Overview
You will submit two files for this assignment:
MAclient.py
MAserver.py
They should connect to each other on your local machine. When they start up they will identify themselves and ask the user for the appropriate port. Then the client will prompt the user for input and send the text to the server. This behavior is all exactly like MA
But then the server will manipulate the text and send it back. If you want it can just capitalize it but if you want to get creative it can reverse it or ROT encrypt it Your choice.
Expected Output
Example of client:
Welcome to the chatBOT client.
What is the connecting port:
Enter message type q to quit: All your base are belong to us
Server sent back: ALL YOUR BASE ARE BELONG TO US
Enter message type q to quit: Trogdor the Burninator
Server sent back: TROGDAR THE BURNINATOR
Enter message type q to quit: q
chatBOT client out.
Example of server:
Welcome to the chatBOT server.
What is the listening port:
The client said: All your base are belong to us
Sending back: ALL YOUR BASE ARE BELONG TO US
The client said: Trogdor the Burninator
Sending back: TROGDAR THE BURNINATOR
chatBOT server out.
Specifications
You should submit two files:
MAclient.py
MAserver.py
Each file should import socket and no other libraries.
Unless you need them for your text manipulation
It should follow the submission standards outlined here: Submission Standards
Each file should have at least one while True: block
Tips and Tricks
There are multiple ways to do this assignment. If you break it down into pieces you'll be fine.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
