[ntp:questions] ipsntp_query_time failing with IPCOM_ERR_FAILED
michael.cook at sfr.fr
Fri Jun 9 11:04:03 UTC 2017
> Le 9 juin 2017 à 12:02, sneha b <snehabadardinni at gmail.com> a écrit :
> Basically I want to reduce this 4.5 to something less.
> And also want to know why do we get *IPCOM_ERR_FAILED.*
From what I can see this is a proprietary vxworks error status message. Google threw up :
... else printf("System time updated!\n"); break; case IPCOM_ERR_FAILED: printf("Invalid (S)NTP message received!\n"); break; case IPCOM_ERR_INVALID_ARG: printf("Invalid arguments!\n"); break; case IPCOM_ERR_TIMEOUT: printf("Timeout. No responses received!\n"); break; default: …
So from that code snippet interpretation, it looks like you are getting bad format data returned from the server.
I should check your system call man page and header files .
Of course, if you have a Wind River support contract, give them a call.
> On Fri, Jun 9, 2017 at 3:27 PM, sneha b <snehabadardinni at gmail.com> wrote:
>> We are using vxworks as ntp client and windows7 as ntp server, and are
>> using ipsntp_query_time, to get the time.
>> This query will happen every 45 second, but for first 6 packets, i.e
>> almost 4.5 minutes we are getting, "*IPCOM_ERR_FAILED*" error.
>> I searched in net, but was unable to get any information on this.
>> Can some one please help me in this, I am blocked here.
>> Thanks in advance,
> questions mailing list
> questions at lists.ntp.org
"The power of accurate observation is commonly called cynicism by those who have not got it. »
George Bernard Shaw
More information about the questions