|
|
@ -219,7 +219,7 @@ int32_t iguana_socket(int32_t bindflag,char *hostname,uint16_t port) |
|
|
|
return(-1); |
|
|
|
} |
|
|
|
} |
|
|
|
if ( listen(sock,512) != 0 ) |
|
|
|
if ( listen(sock,1) != 0 ) |
|
|
|
{ |
|
|
|
printf("listen(%s) port.%d failed: %s sock.%d. errno.%d\n",hostname,port,strerror(errno),sock,errno); |
|
|
|
if ( sock >= 0 ) |
|
|
|