Hi,

Thanks for the info. I changed the code to the following and it returns the correct timestamp:
time_t t = ntp_to_datetime_timestamp(ntohl(receive_timestamp[0]));

Regards,
Nick

--------------------------------------------------
From: "Sylvain Rochet" <[email protected]>
Sent: Saturday, April 28, 2012 4:36 PM
To: "Mailing list for lwIP users" <[email protected]>
Subject: Re: [lwip-users] SNTP Problem

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to