Question: ( please provide me with the full working code to achieve this assignment not just steps on how to solve it ) , thank you

(please provide me with the full working code to achieve this assignment not just steps on how to solve it ),thank you in advance .
In this assignment, you are required to write two classes (in java ): one that represents a UDP server and the other represents a UDP client. The operation of the program can be concluded x the client sending integer values to the server, and the server returning these integers sorted in ascending order.
1.The server must bind to port number 4500, and keep on waiting for requests(packets) to be received from clients. The client packet must include integer values, which the server will send back to the client sorted in ascending order. In addition, the server keeps a log file named log.txt, in which it logs the date/time info and info of clients addressing (IP address in dotted decimal notation and port number)and their sorted numbers, each client on a new line as follows:
date-time client-ip: client-port# sorted_numbers (space separated)
2.The client must read the integer values from the user, until the user enters -1(positive integers are only assumed to be entered). It must send these integer values to the server, then wait for the server response. When the response is received, it must print the returned sorted numbers to the console.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!