I have a question that I asked before, and like to confirm again:
If we use non-blocking recv mode,
1. Does timeout work by sl_SetSockOpt(sd,SL_SOL_SOCKET,SL_SO_RCVTIMEO, (_u8 *)&timeVal, sizeof(timeVal)); ?
2. If SL_SO_RCVTIMEO doesn't work, what happens to sl_recv if there is no data in socket? Wait? Is there a default timeout?
Thanks,
Leo