zephyr/samples/net/sockets
Paul Sokolovsky 901d85bde0 samples: sntp_client: Elaborate sample to workable state
1. Output what steps the app performs, so it doesn't look to user
that it simply hanged.
2. Don't use infinite timeouts, because that will hang.
3. Clearly note which requests are for IPv4 vs IPv6 server.
4. Define IPv4 gateway. This sample is configured to run against
SNTP on local Linux host, but standard distros (e.g. Ubuntu) don't
run SNTP server by default, so usual outcome for running this sample
will be timeout. A realistic way to get successful output would be
to run it against a server on the Internet, for what a gateway is
required.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-04-24 12:50:12 +03:00
..
big_http_download ethernet/eth_e1000.c: change to new PCI(e) functions 2019-04-22 09:34:00 -07:00
can license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
coap_client license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
coap_server license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dumb_http_server samples: net: dumb_http_server: Check EOF while skipping headers 2019-04-23 13:13:35 +03:00
echo license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
echo_async license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
echo_async_select license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
echo_client license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
echo_server ethernet/eth_e1000.c: change to new PCI(e) functions 2019-04-22 09:34:00 -07:00
http_get license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
packet license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
sntp_client samples: sntp_client: Elaborate sample to workable state 2019-04-24 12:50:12 +03:00