Browse Source

Test

etomic
jl777 8 years ago
parent
commit
39797f0e8f
  1. 5
      iguana/exchanges/LP_nativeDEX.c

5
iguana/exchanges/LP_nativeDEX.c

@ -312,8 +312,9 @@ int32_t LP_mainloop_iter(char *myipaddr,struct LP_peerinfo *mypeer,int32_t pubso
{ {
char keepalive[128]; char keepalive[128];
sprintf(keepalive,"{\"method\":\"keepalive\"}"); sprintf(keepalive,"{\"method\":\"keepalive\"}");
printf("send keepalive to %s\n",pushaddr); printf("send keepalive to %s pullsock.%d\n",pushaddr,pullsock);
LP_send(pullsock,keepalive,0); if ( LP_send(pullsock,keepalive,0) < 0 )
LP_deadman_switch = 0;
} }
counter++; counter++;
return(nonz); return(nonz);

Loading…
Cancel
Save