sir,
(B
(B  Isn't wrong? the function NTP2Timeval(rtcppkt.cpp, L60)
(B
(B  NTP timestamp is the passed time from 1900, and Timeval is from 1970.
(B  (eg. NTP -> Timeval)
(B   in case NTP=100yr,  then Timeval = 100yr-70yr(OFFSET) = 30yr.
(B
(B  so, the function NTP2Timeval
(B  - t.tv_sec = msw + NTP_EPOCH_OFFSET  (wrong)
(B  + t.tv_sec = msw - NTP_EPOCH_OFFSET
(B
(B                                                           With regars,
(B
(B-- 
(BTAKEGAMI
(B
(B
(B_______________________________________________
(BCcrtp-devel mailing list
([email protected]
(Bhttp://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to