• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java application

 
tom picot
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am developing a java stand-alone application and it is required to constantly check whether the application/client machine is connected to the internet. What is the best way to do this from within the application programmatically?
Thanks in advance.
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tom
You could create a new Thread the occasionally wakes up and pings the machine it is checking.
The actual implementation of that is alittle beyond me at this point but I'm sure someone else here can give you a quick example.
hope that helps a little bit...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic