1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/posix/sockets
Francois Berder c787638696 posix: sockets: Implement SO_RCVTIMEO option in setsockopt
AwaLWM2M needs to be polled regularly to check for incoming data.
Since RIOT only supports timeout at the GNRC sock layer while
the network abstraction for RIOT in AwaLWM2M uses the posix layer,
this causes RIOT to be blocked waiting for data that never arrive.

This commit implements only the SO_RCVTIMEO option in setsockopt to
allow users to set a receive timeout for a socket at the posix layer.

Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-23 09:59:46 +00:00
..
doc.txt doc: net: replace doc references of conn with sock 2017-02-07 13:32:20 +01:00
Makefile posix: redo socket API to use conn 2015-09-22 22:24:52 +02:00
posix_sockets.c posix: sockets: Implement SO_RCVTIMEO option in setsockopt 2017-03-23 09:59:46 +00:00