Can someone tell me if the code over here is correct:

http://www.p-jansson.com/2010/03/ntp-client-using-boostasio.html

He is basically sending this as a query for a timestamp:

boost::uint8_t data[48] = {
            0x1B,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
         };

Is that legitimate?

_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to