Question: Create a UDP Chat Client Server Application Java Write the Client Program in a word document and attach the Screenshot of the Output. Write the
Create a UDP Chat Client Server Application Java
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 output should be displayed as follows.
j When you run the server program, display the following message.
ii Please enter the server port at run time as command line parameter. In output, display the
following text.
The server port selected by StudentID is : yyyy
Note: Instead of please display the server port.
iii Please enter the client port at run time as command line parameter. In output, display the
following text.
The client port selected by StudentID
Note: Instead of zzzz please display the client port.
iv When the server sends a message to the client, the following text must be displayed at the
server.
The StudentID UDP Server sent this message to Client:
Note: Instead of please display the actual message sent by server to the client.
v When the server receives a message from the client, the following text must be displayed at the
server.
The StudentID UDP Client sent this message to Server:
Note: Instead of please display the actual message sent by client to the server.
vi When the Server types "STOP", the program must end and the following message must be
displayed at the client.
The Server terminated the chat StudentID
Note: In place of StudentID please write your actual nine digits StudentID
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
