Browse Source

Test

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

2
iguana/exchanges/LP_nativeDEX.c

@ -409,7 +409,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,double profit
timeout = 1;
nn_setsockopt(pullsock,NN_SOL_SOCKET,NN_RCVTIMEO,&timeout,sizeof(timeout));
#ifdef __APPLE__
sprintf(bindaddr,"ws://%s:%u",myipaddr,mypullport);
sprintf(bindaddr,"ws://[*]:%u",mypullport);
//nanomsg_tcpname(bindaddr,myipaddr,mypullport);
#else
nanomsg_tcpname(bindaddr,myipaddr,mypullport);

Loading…
Cancel
Save