Implement MSG_WAITALL flag for stream sockets. Setting this flag on `recv()` call will make it wait until the requested amount of data is received. In case both, MSG_WAITALL all is set and SO_RCVTIMEO option configured on a socket, follow the Linux behavior, i. e. when the requested amount of data is not received until the timeout expires, return the data received so far w/o an error. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| eventfd.h | ||
| ioctl.h | ||
| select.h | ||
| socket.h | ||
| time.h | ||