zephyr/samples/net
Marcin Niestroj 498888d764 samples: sockets: echo_client: assume connected without connmgr
When connection manager (CONFIG_NET_CONNECTION_MANAGER) is disabled,
application starts right away. Scenario that it covers is when static
networking is used, like with emulators (QEMU, Native Sim, ...).

Since 'connected' flag was not set in such scenario, the internal loop
inside start_client() has ended up early and stop_udp_and_tcp() was called
quickly after starting TCP and UDP clients.

Set 'connected = true', when connection manager is disabled, so that it is
assumed that connection is working for the whole duration of the
echo-client sample.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2023-11-13 09:52:12 +01:00
..
capture samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
cellular_modem samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
cloud samples/net/cloud/aws_iot_mqtt: Fix sample yaml 2023-11-06 16:06:36 +01:00
common license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dhcpv4_client samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
dns_resolve samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
dsa samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
gptp samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
gsm_modem samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
ipv4_autoconf samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
lldp samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
lwm2m_client tests: lwm2m: Add Qemu X86 and fix Qemu Cortex-M3 2023-11-07 09:47:00 +01:00
mdns_responder samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
mqtt_publisher random: Rename random header 2023-10-10 14:23:50 +03:00
mqtt_sn_publisher samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
openthread/coprocessor samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
promiscuous_mode samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
sockets samples: sockets: echo_client: assume connected without connmgr 2023-11-13 09:52:12 +01:00
stats samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
syslog_net samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
telnet samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
tftp_client samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
virtual samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
vlan samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
wifi drivers: wifi: added Infineon AIROC WIFI driver 2023-11-08 15:07:37 +00:00
wpan_serial samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
wpanusb samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
zperf samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
net.rst doc: add labels to net sample docs for linking 2017-04-04 19:52:06 +00:00