Closed
Description
The following scenario fails:
- Create UDP blocking socket
- Set timeout to the socket
- Try to receive message on UDP socket. If no message was sent, recvfrom() will fail with NSAPI_ERROR_WOULD_BLOCK error.
- Try to send message on UDP socket. The sendto() will fail with NSAPI_ERROR_PARAMETER error.
Attached is sample app that recreates this problem (rename it to .cpp)
udp_socket_example.txt
Should be compiled with following command:
"mbed compile -t GCC_ARM -m K64F --source ."
Metadata
Metadata
Assignees
Labels
No labels