Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Overview You will submit two files for this assignment: M 1 0 A 1 client.py M 1 0 A 1 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. The server will then print out whatever was input. The keyword q will shut down both processes.
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
Enter message type q to quit: Trogdor 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
The client said: Trogdor the Burninator
chatBOT server out.
Specifications
You should submit two files:
MAclient.py
MAserver.py
Each file should import socket and no other libraries.
It should follow the submission standards outlined here: Submission Standards
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