Answered step by step
Verified Expert Solution
Link Copied!

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:
M10A1client.py
M10A1server.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 3000 client.
What is the connecting port: 8888
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 3000 client out.
Example of server:
Welcome to the chatBOT 3000 server.
What is the listening port: 8888
The client said: All your base are belong to us!
The client said: Trogdor the Burninator
chatBOT 3000 server out.
Specifications
You should submit two files:
M10A1client.py
M10A1server.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

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions

Question

e. What are notable achievements of the group?

Answered: 1 week ago