Browse Source

Test

etomic
jl777 7 years ago
parent
commit
66945feec7
  1. 2
      iguana/exchanges/stats.c

2
iguana/exchanges/stats.c

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

Loading…
Cancel
Save