[ntp:questions] sntp status word or exit status

2014-02-04 Thread joeri delvoy
When using sntp, is there a status word available somewhere from which i can translate what the exact error is? I have f.e. the following output on the terminal: ...is not authentic. Will discard it. and Received no useable packet from ... However, i prefer polling a status word (like in http://

Re: [ntp:questions] sntp status word or exit status

2014-02-11 Thread joeri delvoy
i have checked the main.c file in the sntp code, and saw there are only 2 exit codes used: 0(OK) or 1(not OK). I have verified the output of the sntp command, and see that i get a "no UCST response after 3 seconds" if the server is non-existing. But what output can i expect when the server is r

Re: [ntp:questions] sntp status word or exit status

2014-02-11 Thread mike cook
Le 11 févr. 2014 à 11:58, joeri delvoy a écrit : > i have checked the main.c file in the sntp code, and saw there are only 2 > exit codes used: 0(OK) or 1(not OK). > > I have verified the output of the sntp command, and see that i get a > "no UCST response after 3 seconds" if the server is non