Automatically synchronizes your system time using the port 37 time service to a server on the Internet (or even a local network).
This simple terminal application connects to a server or IP address you specify, and updates your system clock to match the time provided by the server. The service used is the TCP time service on port 37, which returns the number of seconds since January 1st 1900 GMT. This should make the program and choice of server timezone independent.
If you can't find any port 37 time servers by Googling around, try either of these:
There is no documentation provided other than this page, but it is self-documenting when executed from the terminal -- it will display clear instructions. An example command looks like this:
time_sync servername 2
This connects to "servername" (can be a name or an IP) and updates your system time every two hours. If you leave out the hour count, it will just set the time once and exit -- ideal for putting in a boot script.
Note: there is no way of specifying the port. You shouldn't need to; time service should be running on port 37.
Users who have discovered the fact that the BeOS clock often drifts a lot on machines which were never designed to run BeOS will find this app very useful.
Of course, there's probably an app which already does this. But knowing how badly documented anything remotely Unix-like tends to be, it was quicker to write a new one than look for a pre-written one =P.
Details about this version:
Version 2.0 provides a bugfix (which caused the program to exit if there was a server error, even if set into "endless loop" mode) and reduces the sheer bloat of this application by a whole 900 bytes or more!
- Submitted On:
- 17 Oct 2003
- Submitted By:
- Karl vom Dorff (karl)
- File Size:
- 4.04 Kb
- File Version:
- File Author: