Sending request to NTP server
Posted: Sun Aug 28, 2016 7:52 am
Hi all,
I was wondering if any of you would have an example of sending the 48 bytes command to a ntp server to get the time back.
I get that a can send a string to an udp port but for the ntp i need to send 48 bytes with the first one set to 35.
any help would be appreciated.
I was wondering if any of you would have an example of sending the 48 bytes command to a ntp server to get the time back.
I get that a can send a string to an udp port but for the ntp i need to send 48 bytes with the first one set to 35.
any help would be appreciated.