[lug] Java Applet

Scott A. Herod herod at interact-tv.com
Thu Mar 8 12:31:58 MST 2001


With an applet?  You would need for your applet server to also be
an ntp server.  If it is, then just open up a socket connection back
to the ntp port and get the time.  I assume that protocol is easy
to find.

Scott

Kyle Moore wrote:
> 
> If I wanted a java applet to do a calculation based on the current
> time...can you think of a way to pull the server time other than ntp? I
> think I could write something that pulls the server time via ntp, does
> the calc and then displays the result but there may be firewall issues
> with that. I can't use the system time on the workstation because that
> may be unreliable. I need accuracy to at least the second.
> 
> Any suggestions?
> 
> -Kyle Moore



More information about the LUG mailing list