home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / n / netdate / README < prev    next >
Encoding:
Text File  |  1993-01-19  |  1.8 KB  |  45 lines

  1.                 NETDATE 
  2.                 =======
  3.  
  4. Netdate - set date and time as specified by ARPA Internet RFC 868
  5.  
  6. Netdate takes a list of names of Internet hosts as arguments, selects the
  7. one which supplies the best time, and sets the system time accordingly. The
  8. invoker must be the super-user for the time to be set.
  9.  
  10. The ``best'' time is chosen by polling the named hosts once each to find
  11. their times and taking their differences from the local host's time. These
  12. differences are used to find the largest group of hosts whose times agree
  13. with each other within a certain limit. The first host in the largest group
  14. is picked as the best host. (The assumption is that the hosts which are
  15. usually most accurate will be named first.) That host is polled again and
  16. the local host's time is set to the result. The chosen host's time is
  17. checked on this second poll to insure that its difference from the local
  18. host's time has not varied more than the limit from its difference at the
  19. first poll. 
  20.  
  21. The original sources for netdate were snarfed from the Simtel-20 archive in
  22. the directory PD?:<UNIX-C.NETWORKS>. They contained no mention of who the
  23. author might be. This version has been changed a little - mainly code
  24. cleanups, and one minor bug-fix.  
  25.  
  26. The code is not entirely bug-free - running it from within X can cause
  27. problems - the clock stops, and sometimes the screen blanks out. God knows
  28. why...
  29.  
  30. If you find any (repeatable) bugs besides the one above, then let me know. I
  31. might fix them if I'm able, but considering my knowledge of Unix socket
  32. programming, this is unlikely :-) 
  33.  
  34. For more info, see the man page. YES! I mean it: there's a man page
  35. included!
  36.  
  37. Standard disclaimers apply, as usual - Please see netdate.c.
  38.  
  39. Nick Hilliard Jan. 1993
  40. ------------------------
  41. nick@curia.ucc.ie
  42. n.hilliard@bureau.ucc.ie
  43. armt6003@iruccvax.bitnet
  44. ------------------------
  45.