Browse Source

Test

etomic
jl777 8 years ago
parent
commit
262d0a95f0
  1. 3
      iguana/exchanges/LP_forwarding.c

3
iguana/exchanges/LP_forwarding.c

@ -58,8 +58,9 @@ int32_t LP_pushsock_create(char *pushaddr)
nn_close(pushsock);
return(-1);
}
timeout = 100;
timeout = 1;
nn_setsockopt(pushsock,NN_SOL_SOCKET,NN_SNDTIMEO,&timeout,sizeof(timeout));
LP_send(pushsock,"{\"method\":\"hello\"}",0);
return(pushsock);
}

Loading…
Cancel
Save