Hello,
While trying to bind to a UDP socket I am getting Error -98.
If I am correct the error is because the address is already in use. But this is not the case.
What is the resolution to this? I tried looking for SO_REUSEADDR socket option but it is not available in the SDK
local_addr.sin_family = SL_AF_INET;
local_addr.sin_port = sl_Htons(5060);
local_addr.sin_addr.s_addr = htonl(INADDR_ANY);
ret_val = sl_Bind(sock_id, (SlSockAddr_t *)&local_addr, _sock_info->addr_size);
if( ret_val < 0 )
{
ERR_PRINT(ret_val);
return ret_val;
}