943,614 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 554
  • Java RSS
Mar 25th, 2009
-1

ping

Expand Post »
HI!!!!!!
Does any one know the algorithm for "ping".
Similar Threads
Reputation Points: 1
Solved Threads: 0
Light Poster
coolbuddy059 is offline Offline
45 posts
since Aug 2008
Mar 26th, 2009
0

Re: ping

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
Sponsor
Featured Poster
Reputation Points: 1014
Solved Threads: 446
Nearly a Senior Poster
javaAddict is offline Offline
3,258 posts
since Dec 2007
Mar 26th, 2009
0

Re: ping

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.
Reputation Points: 14
Solved Threads: 12
Junior Poster
ejosiah is offline Offline
119 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Encrypting a media file
Next Thread in Java Forum Timeline: making a class





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC