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> |
||
|---|---|---|
| .. | ||
| ca_certificate.h | ||
| common.h | ||
| dummy_psk.h | ||
| echo-apps-cert.der | ||
| echo-client.c | ||
| tcp.c | ||
| udp.c | ||
| vlan.c | ||