Browse Source

Test

etomic
jl777 7 years ago
parent
commit
fb5f866556
  1. 5
      iguana/exchanges/LP_socket.c

5
iguana/exchanges/LP_socket.c

@ -265,6 +265,11 @@ void LP_dedicatedloop(int32_t (*recvfunc)(char *ipaddr,char *str,int32_t len),ch
sock = -1;
break;
}
else if ( (len= LP_socketrecv(sock,buf,bufsize)) > 0 )
{
(*recvfunc)(ipaddr,(char *)buf,len);
flag++;
} else printf("recv.%d\n",len);
flag++;
}
if ( flag == 0 )

Loading…
Cancel
Save