if(flags & NSOCK_UDP)
return sock;
if(listen(sock, 3) < 0) {
if(listen(sock, 48) < 0) {
close(sock);
return NSOCK_ELISTEN;
}