Browse Source

Test

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

2
iguana/exchanges/LP_nativeDEX.c

@ -407,7 +407,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,double profit
timeout = 1; timeout = 1;
nn_setsockopt(pullsock,NN_SOL_SOCKET,NN_RCVTIMEO,&timeout,sizeof(timeout)); nn_setsockopt(pullsock,NN_SOL_SOCKET,NN_RCVTIMEO,&timeout,sizeof(timeout));
#ifdef __APPLE__ #ifdef __APPLE__
nanomsg_tcpname(bindaddr,"*",mypullport); nanomsg_tcpname(bindaddr,myipaddr,mypullport);
#else #else
nanomsg_tcpname(bindaddr,myipaddr,mypullport); nanomsg_tcpname(bindaddr,myipaddr,mypullport);
#endif #endif

Loading…
Cancel
Save