| | |
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
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
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
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.
![]() |
Similar Threads
- Optimum Online Web Hosting. (Networking Hardware Configuration)
- One way ping problem (Networking Hardware Configuration)
Other Threads in the Java Forum
- Previous Thread: Encrypting a media file
- Next Thread: making a class
| Thread Tools | Search this Thread |
6 @param actuate android api applet application arc array arrays automation balls binary bluetooth bold business byte c++ chat class client code codesnippet collections compare component coordinates database defaultmethod detection doctype dragging ebook eclipse educational error file fractal froglogic game givemetehcodez graphics gui guitesting helpwithhomework hql html ide ideas image ingres input integer internet intersect invokingapacheantprogrammatically j2me java javaexcel javaprojects jni jpanel jtextarea julia linux list map method methods mobile mysql netbeans newbie nextline parameter php pong problem program programming project recursion recursive scanner sell server set sms sort sql string sun swing swt terminal threads tree web websites windows






