int sm_sntp_config_ipv6(struct sm_sntp_config_ipv6_parms *configp)
typedef struct sm_sntp_config_ipv6_parms {
tSMSNTPId sntp; /* in */
SOCKADDR_IN6 server; /* in */
tSM_UT32 no_reply_delay; /* in */
tSM_UT32 had_reply_delay; /* in */
} SM_SNTP_CONFIG_IPV6_PARMS;
This function configures the NTP server used by the SNTP client. If the reply to a NTP request is not received within no_reply_delay then the next request is sent. Otherwise the next NTP request is sent had_reply_delay after the previous request.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody SNTP Client API.