Skip to main content
Email Password   helpLost your password?
  • Download source files - 12 Kb
  • Download demo project - 5 Kb

    Sample Image - ntpclient.jpg

    Introduction

    Though not obvious, time synchronization is sometimes important. The best example is the Kerberos authentication protocol, which requires the resources to be synchronized within minutes or even seconds, but there are other situations as well. The Network Time Protocol (NTP) and its simplified form (SNTP) are widely used to synchronize network resources, due to their simplicity and effectiveness. There are many programs available that synchronize your PC's clock with that of a time server. Dimension 4 is my favorite.

    In case you need time synchronization embedded into your software, here is the C# alternative. It's simple, fast and integrates seamlessly with the .NET platform. There is a Java implementation of a NTP client by Michel Van den Bergh, but I don't have the URL anymore. Maybe Michel reads this and will send me a note.

    There are several time severs on the Internet and the list below contains those operated by NIST. If you need more, use a search engine.

    Name IP Address Location
    time-a.nist.gov 129.6.15.28 NIST, Gaithersburg, Maryland
    time-b.nist.gov 129.6.15.29 NIST, Gaithersburg, Maryland
    time-a.timefreq.bldrdoc.gov 132.163.4.101 NIST, Boulder, Colorado
    time-b.timefreq.bldrdoc.gov 132.163.4.102 NIST, Boulder, Colorado
    time-c.timefreq.bldrdoc.gov 132.163.4.103 NIST, Boulder, Colorado
    utcnist.colorado.edu 128.138.140.44 University of Colorado, Boulder
    time.nist.gov 192.43.244.18 NCAR, Boulder, Colorado
    time-nw.nist.gov 131.107.1.10 Microsoft, Redmond, Washington
    nist1.datum.com 209.0.72.7 Datum, San Jose, California
    nist1.dc.certifiedtime.com 216.200.93.8 Abovnet, Virginia
    nist1.nyc.certifiedtime.com 208.184.49.9 Abovnet, New York City
    nist1.sjc.certifiedtime.com 208.185.146.41 Abovnet, San Jose, California

  • You must Sign In to use this message board.
     
     
    Per page   
     FirstPrevNext
    Generalthanx Pin
    Murat DOGANCAY
    3:55 21 Feb '09  
    Generalhangs if no ip Pin
    wihe2008
    20:27 18 Jul '08  
    GeneralRe: hangs if no ip Pin
    wihe2008
    20:31 18 Jul '08  
    GeneralRe: hangs if no ip Pin
    wihe2008
    21:55 18 Jul '08  
    Generalcommercial use Pin
    harmjonker
    7:19 14 Jul '08  
    GeneralRe: commercial use Pin
    Valer BOCAN
    23:47 14 Jul '08  
    QuestionDaylight Time saving Pin
    XadhoomGrglblstr
    23:47 6 Apr '08  
    AnswerRe: Daylight Time saving [modified] Pin
    Geoff Low (NZ)
    16:56 5 Jun '08  
    GeneralThe program block Pin
    NanakiFire
    4:34 2 Apr '08  
    GeneralNTP in Compact Framework Pin
    IowaEric
    6:56 8 Jun '07  
    GeneralRe: NTP in Compact Framework Pin
    IowaEric
    16:51 24 Oct '07  
    GeneralNIce article Pin
    Vikas Salvi
    3:21 3 Mar '07  
    AnswerRe: NIce article Pin
    NetDave
    7:48 25 Apr '07  
    GeneralExecution on Pocket PC Emulator Pin
    Rashmi C
    2:16 13 Dec '06  
    GeneralGet Server time Pin
    try.kret
    18:14 8 Oct '06  
    AnswerRe: Get Server time Pin
    Valer BOCAN
    18:23 8 Oct '06  
    GeneralRe: Get Server time Pin
    try.kret
    18:49 8 Oct '06  
    GeneralRe: Get Server time Pin
    try.kret
    16:32 9 Oct '06  
    QuestionUrgent:- Implementation of the Network Time protocol (RFC 13905) in C++ Pin
    Kulkarni Abhijit
    1:49 27 Jul '06  
    GeneralThanks!! Pin
    Micah Wedemeyer
    5:24 23 Dec '05  
    GeneralUsing IP addresses rather than hostnames Pin
    MrEyes
    6:46 27 May '05  
    GeneralNeed urgent Help Pin
    PShweta
    0:59 7 Oct '04  
    GeneralRe: Need urgent Help Pin
    Valer BOCAN
    1:53 7 Oct '04  
    Generalminor bug : Peer clock precision calculation Pin
    EzekielDA
    12:40 10 Jun '04  
    GeneralRe: minor bug : Peer clock precision calculation Pin
    Valer BOCAN
    7:02 14 Jun '04  


    Last Updated 27 Aug 2001 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009