zephyr/subsys/net/lib/sntp
Marco Argiolas 2527320848 net: lib: sntp: add support for unspecified IP-family type
`sntp_simple()` was forcing to resolve SNTP-server's URL into IPv4 address
addresses. This was not allowing sntp_init() to succeed in case the system
 did not support IPv4 addresses (returning EPFNOSUPPORT, ie. Protocol
Family error).
Now by default SNTP has unspecified family type and it relies on
`net_getaddrinfo_addr_str()` to be able to resolve literal server URLs
into the supported IP family type.

Signed-off-by: Marco Argiolas <marco.argiolas@ftpsolutions.com.au>
2023-01-03 11:03:25 +01:00
..
CMakeLists.txt net: sntp: Add convenience API for one-shot SNTP query 2019-05-10 13:44:32 +03:00
Kconfig net: sntp: use zsock_ functions. 2022-10-03 10:19:47 +02:00
sntp.c net: sntp: use zsock_ functions. 2022-10-03 10:19:47 +02:00
sntp_pkt.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
sntp_simple.c net: lib: sntp: add support for unspecified IP-family type 2023-01-03 11:03:25 +01:00