Browse Source

Test

etomic
jl777 8 years ago
parent
commit
6f3b411e2e
  1. 2
      iguana/exchanges/LP_network.c

2
iguana/exchanges/LP_network.c

@ -449,7 +449,7 @@ int32_t LP_initpublicaddr(uint16_t *mypullportp,char *publicaddr,char *myipaddr,
nn_setsockopt(pullsock,NN_SUB,NN_SUB_SUBSCRIBE,"",0);
//LP_send(pullsock,"hello init",0);
}
if ( 1 && ispaired == 0 && nn_tests(pullsock,publicaddr,NN_PAIR) < 0 )
if ( 1 && ispaired == 0 && nn_tests(pullsock,publicaddr,NN_PUSH) < 0 )
{
printf("command socket didnt work\n");
exit(-1);

Loading…
Cancel
Save