Folks, this thread made me curious...
I present to you a simple SNTP stack go stack "http://andregarzia.com/stacks/libNTPToy.livecode" It is a quick and dirty implementation with no error checking. It has one function getTime(), you pass the NTP server and it returns the current date and time in seconds format. I tried with our official Brazilian time servers and it worked. Hope this helps. By the way, I don't truly understand the NTP protocol, I picked a couple ruby and python code and converted to livecode with the aid of wireshark marvelous sniffer tool to see the damn datagrams flowing. (I hate binary protocols) =) Cheers andre _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode