1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/posix/include
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
..
arpa doc: pnet should be part of POSIX sockets 2015-09-25 21:07:16 +02:00
netinet posix: in: Fix sockaddr_in6 structure 2017-03-03 16:49:54 +00:00
sys posix: sockets: Implement SO_RCVTIMEO option in setsockopt 2017-03-23 09:59:46 +00:00
fcntl.h sys/posix: Add fcntl.h 2017-03-07 10:21:53 +01:00
semaphore.h doc: posix: fix doxygen complaints 2017-03-10 14:56:28 +01:00