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.
The server must bind to port number and keep on waiting for requestspackets 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 logtxt in which it logs the datetime info and info of clients addressing IP address in dotted decimal notation and port numberand their sorted numbers, each client on a new line as follows:
datetime clientip: clientport# sortednumbers space separated
The client must read the integer values from the user, until the user enters 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
