[Java expert] Need to set up ping client and ping server to send messages between the two
Budget: $10 – $30 USD
I need my ping client program to send out 10 ping requests to the server. After sending each request client waits up to one second for reply from the server. If no reply is received during this time period, client times out. In this case you should print out the time out message.
I'm trying to get my client program to do:
(1)Print out the current time and the ping attempt number. Send the ping message using UDP.
(2) Print the response message from server, if any (the server will capitalize the message sent by the client and send it back to the client). Print out the elapsed time in microseconds.
(3) Calculate and print the round trip time (RTT), in microseconds, of each packet, if server responses.
(4) Otherwise, print “Request timed out”.
here is source code: https://drive.google.com/drive/folders/1MBjBno0ENe89G_tEK_6HnbwU4YIaLyiC?usp=sharing
Ideally when the program is ran, I want the user to enter a message and then print out the deliverables. If the message isn't received then print request timed out.
I'm trying to get my client program to do:
(1)Print out the current time and the ping attempt number. Send the ping message using UDP.
(2) Print the response message from server, if any (the server will capitalize the message sent by the client and send it back to the client). Print out the elapsed time in microseconds.
(3) Calculate and print the round trip time (RTT), in microseconds, of each packet, if server responses.
(4) Otherwise, print “Request timed out”.
here is source code: https://drive.google.com/drive/folders/1MBjBno0ENe89G_tEK_6HnbwU4YIaLyiC?usp=sharing
Ideally when the program is ran, I want the user to enter a message and then print out the deliverables. If the message isn't received then print request timed out.
Related categories:
Business, Accounting, Human Resources & Legal
JavaFX
Socket IO
Java ME
Network Engineering