0b76b12837
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> |
||
---|---|---|
.. | ||
application_development | ||
basic | ||
bluetooth | ||
boards | ||
cpp_synchronization | ||
drivers | ||
grove | ||
hello_world | ||
mpu | ||
net | ||
nfc/nfc_hello | ||
philosophers | ||
sensor | ||
subsys | ||
synchronization | ||
testing/integration | ||
xtensa_asm2 | ||
kernel.rst | ||
samples.rst |