954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

ping

HI!!!!!!
Does any one know the algorithm for "ping".

coolbuddy059
Light Poster
45 posts since Aug 2008
Reputation Points: 1
Solved Threads: 0
 

I know the algorithm for pong.

But my brother is better, he knows Ping Pong. Serioulsy, he learned it when he was at University and now he teaches gymnastics at schools

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 

Thats real funny JavaAddict

Before you start u need to do this:
First create a client server app
you need to also create your ping protocol

your classes should be like this
PingClient, PingProtocol and PingServer

Now here's your algorithm
send a ping request to your server i.e
ping [server-ip-address]
recieve the request on the server side
compare the ip-address with the server's ip-address
if they match send an acknowledgement back
if not have the client timeout

ejosiah
Junior Poster
188 posts since Feb 2008
Reputation Points: 72
Solved Threads: 23
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You