Udp error codes listed anywhere?

Just following up with a response :smile: Happy to see you figured it out.

SUCCESS                         0 // Success
PENDING                        -1 // Pending
TIMEOUT                        -2 // Timeout
PARTIAL_RESULTS                -3 // Partial results
ERROR                          -4 // Error
BADARG                         -5 // Bad Arguments
BADOPTION                      -6 // Mode not supported
UNSUPPORTED                    -7 // Unsupported function
OUT_OF_HEAP_SPACE              -8 // Dynamic memory space exhausted
NOTUP                          -9 // Interface is not currently Up
UNFINISHED                    -10 // Operation not finished yet
CONNECTION_LOST               -11 // Connection to server lost
NOT_FOUND                     -12 // Item not found
PACKET_BUFFER_CORRUPT         -13 // Packet buffer corrupted
ROUTING_ERROR                 -14 // Routing error
BADVALUE                      -15 // Bad value
WOULD_BLOCK                   -16 // Function would block
ABORTED                       -17 // Operation aborted
CONNECTION_RESET              -18 // Connection has been reset
CONNECTION_CLOSED             -19 // Connection is closed
NOT_CONNECTED                 -20 // Connection is not connected
ADDRESS_IN_USE                -21 // Address is in use
NETWORK_INTERFACE_ERROR       -22 // Network interface error
ALREADY_CONNECTED             -23 // Socket is already connected
INVALID_INTERFACE             -24 // Interface specified in invalid
SOCKET_CREATE_FAIL            -25 // Socket creation failed
INVALID_SOCKET                -26 // Socket is invalid
CORRUPT_PACKET_BUFFER         -27 // Packet buffer is corrupted
UNKNOWN_NETWORK_STACK_ERROR   -28 // Unknown network stack error
NO_STORED_AP_IN_DCT           -29 // DCT contains no AP credentials
STA_JOIN_FAILED               -30 // Join failed
PACKET_BUFFER_OVERFLOW        -31 // Packet buffer overflow
4 Likes