From 1f4718fac9511d59ad96aa3fc33ae5ac9f8d1d24 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 10 May 2016 18:53:16 -0500 Subject: [PATCH] test --- iguana/iguana_accept.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_accept.c b/iguana/iguana_accept.c index 0ab1366e7..b9a821827 100755 --- a/iguana/iguana_accept.c +++ b/iguana/iguana_accept.c @@ -73,8 +73,8 @@ void iguana_acceptloop(void *args) printf("another daemon running, no need to have iguana accept connections\n"); return; } - if ( port != IGUANA_RPCPORT ) - return; + //if ( port != IGUANA_RPCPORT ) + // return; sleep(5); } printf(">>>>>>>>>>>>>>>> iguana_bindloop 127.0.0.1:%d bind sock.%d\n",port,coin->bindsock); @@ -87,7 +87,7 @@ void iguana_acceptloop(void *args) if ( poll(&pfd,1,100) <= 0 ) continue; clilen = sizeof(cli_addr); - //printf("ACCEPT (%s:%d) on sock.%d\n","127.0.0.1",coin->chain->portp2p,coin->bindsock); + printf("ACCEPT (%s:%d) on sock.%d\n","127.0.0.1",coin->chain->portp2p,coin->bindsock); sock = accept(coin->bindsock,(struct sockaddr *)&cli_addr,&clilen); if ( sock < 0 ) {