sntp_getserver() function
Obtain one of the currently configured by IP address (or DHCP) NTP servers
Arguments
idx
the index of the NTP server
Return value
IP address of the indexed NTP server or "ip_addr_any" if the NTP server has not been configured by address (or at all).