@ -459,13 +459,14 @@ create_server_socket(const char *host, const char *port)
close(server_sock);
}
if (result)
freeaddrinfo(result);
if (rp == NULL) {
LOGE("[udp] cannot bind");
return -1;
return server_sock;