zephyr/samples/net/sockets
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
..
big_http_download samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
can samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
coap_client samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
coap_server samples: net: sockets: Add CoAP service example 2023-11-09 11:21:42 +01:00
dumb_http_server samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
dumb_http_server_mt samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
echo samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
echo_async samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
echo_async_select samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
echo_client samples: sockets: echo_client: assume connected without connmgr 2023-11-13 09:52:12 +01:00
echo_server samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
http_client samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
http_get samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
net_mgmt samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
packet samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
sntp_client samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
socketpair samples net/posix: Rename old Makefiles and clarify READMEs 2023-10-20 15:01:42 +02:00
tcp samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
txtime samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
websocket_client random: Rename random header 2023-10-10 14:23:50 +03:00