Browse Source

Test

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

2
iguana/exchanges/LP_nativeDEX.c

@ -135,8 +135,10 @@ void LP_process_message(char *typestr,char *myipaddr,int32_t pubsock,double prof
int32_t LP_pullsock_check(char *myipaddr,int32_t pubsock,int32_t pullsock,double profitmargin)
{
void *ptr; int32_t recvlen,nonz = 0;
printf("call nn_recv\n");
while ( pullsock >= 0 && (recvlen= nn_recv(pullsock,&ptr,NN_MSG,0)) >= 0 )
{
printf("got %d\n",recvlen);
nonz++;
if ( IAMLP == 0 )
printf("pulled.%d (%s)\n",recvlen,(char *)ptr);

Loading…
Cancel
Save