This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

sl_Recv在设计成非阻塞模式的时候,没有接收到的信息时,返回什么?

如标题。

  • return the number of bytes received, or a negative value if an error occurred.using a non-blocking recv a possible negative value is SL_EAGAIN. SL_RET_CODE_INVALID_INPUT (-2) will be returned if fromlen has incorrect length. SL_POOL_IS_EMPTY may be return in case there are no resources in the system.In this case try again later or increase MAX_CONCURRENT_ACTIONS