1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/posix
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
..
include posix: sockets: Implement SO_RCVTIMEO option in setsockopt 2017-03-23 09:59:46 +00:00
pthread doc: posix: fix doxygen complaints 2017-03-10 14:56:28 +01:00
semaphore timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
sockets posix: sockets: Implement SO_RCVTIMEO option in setsockopt 2017-03-23 09:59:46 +00:00
doc.txt doc: fix posix wrapper documentation 2014-12-06 02:05:51 +01:00
fd.c sys: remove obsolete posix_io code 2015-11-20 00:43:57 +01:00
Makefile make: detect their module name automatically 2014-06-17 15:49:32 +02:00
unistd.c posix: fix close() if fd_obj was closed already 2017-03-20 09:43:55 +01:00