From 262d0a95f07ff59689fe94145b7e2ad20ce48329 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Jun 2017 13:18:05 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_forwarding.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_forwarding.c b/iguana/exchanges/LP_forwarding.c index 0b30713c8..b6d36145f 100644 --- a/iguana/exchanges/LP_forwarding.c +++ b/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); }