ping

Reply

Join Date: Aug 2008
Posts: 40
Reputation: coolbuddy059 has a little shameless behaviour in the past 
Solved Threads: 0
coolbuddy059 coolbuddy059 is offline Offline
Light Poster

ping

 
-1
  #1
Mar 25th, 2009
HI!!!!!!
Does any one know the algorithm for "ping".
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 1,658
Reputation: javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all 
Solved Threads: 223
Featured Poster
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Virtuoso

Re: ping

 
0
  #2
Mar 26th, 2009
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
Check out my New Bike at my Public Profile at the "About Me" tab
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 114
Reputation: ejosiah is an unknown quantity at this point 
Solved Threads: 12
ejosiah's Avatar
ejosiah ejosiah is offline Offline
Junior Poster

Re: ping

 
0
  #3
Mar 26th, 2009
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
Last edited by ejosiah; Mar 26th, 2009 at 6:50 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC