File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Help" Watch "Help" New topic
Author

Help

Roman V
Greenhorn

Joined: Dec 16, 2001
Posts: 7
How can I know ,connected user to the
internet or not?
Tnx
Gerd Rosarius
Greenhorn

Joined: Feb 13, 2002
Posts: 24
Ahmm, I think you should specify your question a little more. Maybe you have a better chance to get a qualified answer then.
Greetings
Gerd


<a href="http://www.brainsandbytes.de" target="_blank" rel="nofollow">Brains and Bytes</a> − eTechnology- and Marketing-Services
Chris Stehno
Ranch Hand

Joined: Feb 26, 2001
Posts: 180
I am assuming that you want to know if your user is connected to the internet or not ...
I would try to get the HTTP headers from a known stable server (www.sun.com, www.cnn.com) ... if you get the headers, they are online, if not, they are not ...
you may want to try one or two different servers if the result is negative, just in case the server is down.
Hope this helps


- Chris Stehno, SCPJ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help