Homework Help US logo
  • My account
  • Order now
Order Now
Homework Help

Java program-network | Computer Science homework help

2 min read
Posted on 
November 11th, 2022
Home Homework Help Java program-network | Computer Science homework help

You are required to write an Echo Client and an Echo Server program. The echo client communicates with the echo server using UDP. The programs should fulfill the following requirements:

Client:

1. Prompts the user to input the IP address, port number of the server, and a message to send to that server.

2. Sends the message to the server.

3. Display the server replay by using the same socket.

4. Displays an error message if the IP address or port number were entered incorrectly.

5. The client should be able to send multiple messages to the server. You may need to consider using the infinite loop as we discussed in the class.

Server

1. Receives the message from the client.

2. Change the letters of the message to “capital letters” and send it back to the client by using the same socket.

3. The server should be able to send multiple messages to the client. You may need to consider using the infinite loop as we discussed in the class.

Note:

1. Java language should be used.

2. Do NOT hard code the server address and port number in your source code.

3. Your program should work under MS-DOS window (command line). You need to compile your code by using JavaC.

Order an Essay Now & Get These Features For Free:

Turnitin Report

Formatting

Title Page

Citation

Outline

Place an Order
Share
Tweet
Share
Tweet
Calculate the price
Pages (275 words)
$0.00
Homework Help US
Company
    Legal
      How Our Service is Used:
      Homework Help US essays are NOT intended to be forwarded as finalized work as it is only strictly meant to be used for research and study purposes. Homework Help US does not endorse or condone any type of plagiarism.
      Subscribe
      No Spam
          © 2023 Homework Help US. All rights reserved.
          Homework Help US will be listed as ‘Homework Help US’ on your bank statement.