Discussion of JavaSntpClient

Should it be SntpClient.java instead of NtpClient.java?

-- HarlanStenn - 23 Jan 2004

Yes.

-- AdamBuckley - 23 Jan 2004

There are two typos in RFC2030 which should be applied to the Java source code. They are detailled at http://www.rfc-editor.org/errata.html >> 2030 >> find errata

-- AdamBuckley - 30 Jan 2004

Jon Dobles spotted an error in encodeTimestamp. Line 394 is:

array[7] = (byte) (Math.random()*255.0);

but should be:

array[7+pointer] = (byte) (Math.random()*255.0);

Thank you Jon!

-- AdamBuckley - 13 Feb 2004

The two Java source files were updated on 28-Aug-2004 to reflect the above comments.

-- AdamBuckley - 28 Aug 2004

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r7 < r6 < r5 < r4 < r3 | More topic actions
Topic revision: r7 - 2004-10-15 - 02:19:04 - HarlanStenn
 
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platformCopyright © 1999-2010 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback