|
@ -297,9 +297,9 @@ void basilisk_ping_send(struct supernet_info *myinfo,struct iguana_info *btcd) |
|
|
{ |
|
|
{ |
|
|
if ( iguana_queue_send(addr,0,myinfo->pingbuf,"SuperNETPIN",datalen) <= 0 ) |
|
|
if ( iguana_queue_send(addr,0,myinfo->pingbuf,"SuperNETPIN",datalen) <= 0 ) |
|
|
printf("error sending %d to (%s)\n",datalen,addr->ipaddr); |
|
|
printf("error sending %d to (%s)\n",datalen,addr->ipaddr); |
|
|
else if ( datalen > 200 ) |
|
|
else if ( 0 && datalen > 200 ) |
|
|
fprintf(stderr,"+(%s).%d ",ipaddr,i); |
|
|
fprintf(stderr,"+(%s).%d ",ipaddr,i); |
|
|
} else fprintf(stderr,"-(%s).%d ",ipaddr,i); |
|
|
} //else fprintf(stderr,"-(%s).%d ",ipaddr,i);
|
|
|
} |
|
|
} |
|
|
//printf("my RELAYID.%d of %d\n",myinfo->RELAYID,myinfo->numrelays);
|
|
|
//printf("my RELAYID.%d of %d\n",myinfo->RELAYID,myinfo->numrelays);
|
|
|
} |
|
|
} |
|
|