Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / November 2003

Tip: Looking for answers? Try searching our database.

ICQ

Thread view: 
Qu?bec - 29 Nov 2003 12:31 GMT
Hi Great working hard Gurus,

Is there a way to script something for visitors on your web site know you
are on line?

    Like ICQ stuff, but I dont want to rely on Icq. Maybe an applet. An
application that would be pinged by an Applet? Any suggestion?

                                                           Jean
Chris Smith - 29 Nov 2003 14:37 GMT
Québec wrote:
> Hi Great working hard Gurus,
>
[quoted text clipped - 3 lines]
>      Like ICQ stuff, but I dont want to rely on Icq. Maybe an applet. An
> application that would be pinged by an Applet? Any suggestion?

(Incidentally, if you're looking for a "script" as in JavaScript, you're
in the wrong place.)

Hmm.  Do you have a static IP address?  If not, then you'll need to
communicate through something that you can find.  So you'd want to have
a server somewhere that records the information.  At that point, yes you
could manage this.  You'd have to have something running at a known
location listening on a socket to let people know that you're online,
and have something on your own system notify the something at the known
location when you are online.  The something at a known location would
probably also need to occasionally check the something on your own
system to ensure that it's still online.

If an applet is involved, be aware that it can only communicate with its
own web server, unless you jump through security loopholes.

Sorry to not be more specific; but you have a lot of design choices to
make before you are close to being able to get implementation advice.

Signature

www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Qu?bec - 29 Nov 2003 18:42 GMT
Well,

   JavaScript can only check if somebody reads the page online
(document.onLine).
   Can I communicate with the applet ("running at a known location
listening on a socket to let people know that you're online" on a page in my
web (see below)?

From my computer I can get the inetaddress event if it changes all the time.
           InetAddress localHostAddress
              = InetAddress.getLocalHost();

I could ask peopple to use mail  (they know that I am 'there' at this very
'sacred' instant :-) because they can expect an immediate answer.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.