Browse Source

Test

etomic
jl777 8 years ago
parent
commit
e067601abf
  1. 2
      iguana/exchanges/LP_nativeDEX.c

2
iguana/exchanges/LP_nativeDEX.c

@ -360,7 +360,7 @@ void nn_tests(int32_t pullsock,char *pushaddr)
timeout = 1000;
nn_setsockopt(sock,NN_SOL_SOCKET,NN_RCVTIMEO,&timeout,sizeof(timeout));
n = nn_send(sock,"{\"method\":\"nn_tests\"}",(int32_t)strlen("{\"method\":\"nn_tests\"}")+1,0);
LP_pullsock_check("127.0.0.1",-1,pullsock,0.);
//LP_pullsock_check("127.0.0.1",-1,pullsock,0.);
// n = LP_send(sock,"nn_tests",0);
printf("sent %d bytes\n",n);
}

Loading…
Cancel
Save