zephyr/samples/net/sockets
Paul Sokolovsky 0b76b12837 samples: sockets: big_http_download: Update for DHCPv4 support.
Enable CONFIG_NET_DHCPV4, while keeping static IP configuration,
which allows the app to work both with static IP (e.g. when
connected to a workstation without DHCP server) and with DHCP (e.g.
when connected to a router). When using DHCP, getting an address
may take some time, during which getaddrinfo() may fail due to a
timeout. So, add retries for this call.

Tested with qemu_x86 (non-DHCP) and frdm_k64f (both DHCP and
non-DHCP).

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-05-18 13:03:44 +03:00
..
big_http_download samples: sockets: big_http_download: Update for DHCPv4 support. 2018-05-18 13:03:44 +03:00
dumb_http_server samples: sockets: dumb_http_server: Disable TIME_WAIT delay 2018-05-16 11:03:49 +03:00
echo
echo_async
http_get samples: sockets: Make more errors fatal 2018-05-15 18:14:07 +03:00