[NTLK] NetTime for 711000

Jake Bordens jake at allaboutjake.com
Thu Feb 2 19:44:02 EST 2017


The code I have is from the “NIE 2.0 Developer Goodies” package on UNNA.

The compiled version on UNNA seems to have those added features, so I don’t know where the source is for that or if someone did it on their own.

Jake

On 2/2/17, 7:42 PM, "newtontalk-bounces at newtontalk.net on behalf of Morgan Aldridge" <newtontalk-bounces at newtontalk.net on behalf of morgant at makkintosshu.com> wrote:

    On Thu, Feb 2, 2017 at 19:39 Jake Bordens <jake at allaboutjake.com> wrote:
    
    > I’m working on an app that relies on an accurate clock, so I wanted to
    > sync my Newton to a time server.
    >
    > There is apple sample code “NetTime” that syncs with the old “TIME”
    > protocol on port 37.  Many servers don’t support this, but the NIST servers
    > still do.
    >
    > The app needed an update to account for the different clock offset for
    > newtons running the 711000 patch that fixes the date issue.  (On
    > non-patched newtons, the clock starts on 1/1/1993… after the patch it is
    > 1/1/2008 – hence the app needed a new offset)
    >
    > One note:  There is a NetTime package already on UNNA, and it seems to
    > have a few extra features that are not in the sample code I have – a
    > checkbox to enable/disable auto sync and a sync button.  My version of the
    > code doesn’t have this.   I added back a button because it was simple, but
    > not the checkbox.   If anyone has newer sample code with the checkbox, send
    > it my way and I’ll update the offset and recompile.
    >
    > I uploaded the new package to UNNA:
    > http://www.unna.org/incoming/NetTime_for_%20711000.zip
    >
    > ----------------------------------------------------------------------
    >
    > http://newtontalk.net/
    > http://twitter.com/newtontalk
    
    Hey cool, I didn't realize that was broken by the 711000 patch! Where did
    you find the original source? I feel like Grant was looking for that a
    while ago (but he may have found it).
    
    Morgan
    
    -- 
    Morgan
    ---
    http://makkintosshu.com/
    http://centresteer.com/
    http://seriesparts.com/
    http://unna.org/
    ----------------------------------------------------------------------
    
    http://newtontalk.net/
    http://twitter.com/newtontalk



More information about the NewtonTalk mailing list