Receive a message and store it.
- Parameters
-
messenger | The messenger. |
timeout | The maximum time to block. It will blocks until one whole message is available if you give NULL here. |
- Returns
- RETVAL_SUCCEEDED if no error has been occurred, otherwise it return RETVAL_FAILED.
References RETVAL_FAILED, and RETVAL_SUCCEEDED.