This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to support MSG_WAITALL flag for recv() operation

Hi 

We need the recv() be blocking until the full amount of requested data can be returned or the operation was timeout, how to achieve this?

I tried flag MSG_WAITALL but failed to compile with error 'MSG_WAITALL' undeclared;

I also tried flag NRF_MSG_WAITALL but did not work, the recv() also returned the smaller amount of data for first message.

Parents Reply Children
No Data
Related