Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions: Please read these instructions carefully. Please write your actual nine digits ID in place of Student - ID . Please upload your Assignment on

Instructions: Please read these instructions carefully.
Please write your actual nine digits ID in place of Student-ID.
Please upload your Assignment on Blackboard.
Please write the Program in word file. Images of code will not be accepted.
Please attach the Output Screenshot.
Create a TCP Chat Client Server Application.
Write the Client Program in a word document and attach the Screenshot of the Output.
Write the Server Program in a word document and attach the Screenshot of the Output.
The Server Program Output should be displayed as follows.
i) When you run the server program, display the following message.
The Server Application is Created by Student-ID and is Waiting for Client
ii) When the Client Connects to the server, display the following message at the Server.
Student-ID this Server Accepted a Client
iii) Please enter a port number which is used by application programmers for non-standard service. The port number must be
entered manually in the code, not at run time and display the port number along with this message. Instead of yxxX, please display
the port number.
TCP Chat Server is Listening at this Port Number:
iv) When the client types "FINISH", the following message must be displayed at the Server.
Alert!!! Student-ID the Client closed the Chat with this Server
v) When the Server receives a chat message from Client, then display the chat message received, along with this text at the Server.
Instead of zzzzzz3z, please display the chat message.
The Client sent this Chat message for the Server : zzzzzzzz
Note: In place of Student-ID please write your actual nine digits Student-ID.
image text in transcribed

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

More Books

Students also viewed these Databases questions