home *** CD-ROM | disk | FTP | other *** search
-
-
-
- =====( SyncClock V1.10 )===========================================
-
-
- Trion Synchronize clock Utility.
-
- (c) Copyright Paul Spijkerman, '98. All rights reserved.
-
- Written for use with the Trion BBS package.
-
-
- ===================================================================
-
-
- This is a little Utility to synchronize the clock of your
- computer with an other computer by using the mailer.
-
- Just call a BBS with the mailer and then type:
-
- SyncClock <NodeNumber>
-
- Where the nodenumber is the number that is in LastCaller list,
- probably the main node number of an incoming call and the
- number you used to call out.
- There are a couple of things you have to look out for.
-
- This only works if the mailers have made a successfull uplink.
- Else nothing will happen.
-
- Calling a BBS can be done from shell by typing:
-
- Poll <nodenumber>
- Trion -c -1 <nodenumber>
-
- Or you can call from the GUI of the BBS or use the "caller"
- program instead of "trion".
-
-
- The system works as follows.
- When mailers call each other they can optionally exchange the
- local time on there machines.
- The EMSI standard for mailers allows for extensions.
- This system uses such an extension, the calling party
- can send an extension ID "TRX#" and after that the local
- time in hexadecimal format. If the "other side" supports
- this extension .. it will do the same.
- So now both systems have each others time.
- The time is not send in the usual form, but it is the
- number of seconds that have passed since 1 januari 1970.
- You only have to subtract the two numbers .. and you know
- how many seconds you system is fast or behind on the
- other system.
- This number of seconds is stored in the lastcaller data
- where the SyncClock program can access it.
- The SyncClock program will only use the data from the last
- call made to a node .. and set a flag so it knows it used
- the data to modify the clock.
- So it will not modify the clock a number of times with the
- same "offset".
- If you clock was 10 seconds to fast .. and the program would
- use the data twice your clock would be 10 seconds slow.
- This also explains why you shouldn't make two calls to two
- different systems .. and them run SyncClock for those two
- nodenumbers after you made both calls.
- Also you shouldn't make a call .. change the clock by hand
- and the run SyncClock.
-
-
-