UDP socket bind error 523, 538 | developer.brewmp.com UDP socket bind error 523, 538 | developer.brewmp.com

Developer

UDP socket bind error 523, 538

Forums:

Hi,

I am using SDK 3.1.4 and the problem I am facing is related to binding of UDP sockets.

Whenever I try to bind to a port number that is already occupied, it returns me an error 523 and after this error state, if I try to bind to any other port number(even the available ones) I keep getting error number 538. A sample error log is:
--------------------------------------------------------------------------
*AEESockPort.c:1860 - * 36855512:2 ST_CLOSED
*AEESockPort.c:1919 - * 36855512:2 ST_OPEN_PENDING
*AEESockPort.c:1948 - * 36855512:2 Opening...
*AEESockPort.c:1973 - * 36855512:2 Opened hSock 36854428
*AEESockPort.c:1984 - * 36855512:2 Opened Loopback
*AEESockPort.c:1997 - * 36855512:2 ST_OPEN
*AEESockPort.c:2063 - * 36855512:2 TRYBIND ERROR, 523
*AEESockPort.c:1997 - * 36855512:2 ST_OPEN
*AEESockPort.c:2063 - * 36855512:2 TRYBIND ERROR, 523
*AEESockPort.c:1997 - * 36855512:2 ST_OPEN
*AEESockPort.c:2063 - * 36855512:2 TRYBIND ERROR, 538
*AEESockPort.c:1997 - * 36855512:2 ST_OPEN
*AEESockPort.c:2063 - * 36855512:2 TRYBIND ERROR, 538
--------------------------------------------------------------------------

Please let me know if anybody has some idea about the solution for the problem.

Thanks and Regards
Achint