Browse Source

Test

etomic
jl777 7 years ago
parent
commit
2d10e5ff7c
  1. 6
      iguana/exchanges/stats.c

6
iguana/exchanges/stats.c

@ -750,7 +750,11 @@ void stats_rpcloop(void *args)
sock = accept(bindsock,(struct sockaddr *)&cli_addr,&clilen);
if ( sock < 0 )
{
//printf("iguana_rpcloop ERROR on accept usock.%d errno %d %s\n",sock,errno,strerror(errno));
printf("iguana_rpcloop ERROR on accept usock.%d errno %d %s\n",sock,errno,strerror(errno));
close(bindsock);
while ( (bindsock= iguana_socket(1,"0.0.0.0",port)) < 0 )
sleep(3);
printf(">>>>>>>>>> DEX stats 127.0.0.1:%d bind sock.%d DEX stats API enabled <<<<<<<<<\n",port,bindsock);
continue;
}
memcpy(&ipbits,&cli_addr.sin_addr.s_addr,sizeof(ipbits));

Loading…
Cancel
Save