zephyr/subsys/net/lib
Robert Lubos fa5b706871 net: websocket: Implement websocket_recv_msg timeout
Although websocket_recv_msg function accepts timeout parameter, the
functionality was rather limited, allowing only to either work in
non-blocking manner, or to block indefinitely. Any timeout value
other than -1 (forever) ended up in non-blocking operation.

This PR fixes this by implementing a basic timeout mechanism, built on
top of poll(). For now on, only timeout of 0 will result in non-blocking
operation, any other timeout will make the function block for the
specified amount of time.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-05-31 11:07:10 +02:00
..
capture
coap net: lib: coap: Add an asynchronous coap client 2023-05-26 09:44:50 -04:00
config net: if: Add possibility to disable ND per interface 2023-04-29 12:24:49 +02:00
dns iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
http net: http: define http service and resource iterable sections 2023-03-08 13:57:13 +00:00
lwm2m net: lib: lwm2m: add missing #include to lwm2m_rd_client.h 2023-05-29 04:57:18 -04:00
mqtt net: mqtt: Debug logging of pointers 2023-03-15 15:02:47 +01:00
mqtt_sn net/lib: mqtt_sn: Fix MQTT-SN IPv6 Support and assertation in Example 2023-03-09 09:20:53 +01:00
sntp net: sntp: support building without NET_SOCKETS_POSIX_NAMES 2023-04-24 09:23:17 -04:00
sockets net: sockets: tls: Allow to interrupt blocking accept() call 2023-05-29 14:34:03 -04:00
socks
tftp net: tftp: Add client context 2023-02-28 10:29:30 +01:00
tls_credentials init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
utils net: sntp: support building without NET_SOCKETS_POSIX_NAMES 2023-04-24 09:23:17 -04:00
websocket net: websocket: Implement websocket_recv_msg timeout 2023-05-31 11:07:10 +02:00
zperf init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
CMakeLists.txt net: conn_mgr: Reorganize files 2023-05-11 12:15:44 +02:00
Kconfig net: conn_mgr: Reorganize files 2023-05-11 12:15:44 +02:00