Hi,
I'm running the first server.c example of zmq guide. Instead of using
client.c example to send message to server, I want to use some linux
command to do that.
I've tried several attempts like
1. $ echo “hello” /dev/tcp/localhost/
2. nc localhost
3. echo hello | socat -
In the parallel pipe example,
zmq_bind (sender, tcp://*:5557);
zmq_connect (sink, tcp://localhost:5558);
and s_send (sink, 0);
s_send (sender, string);
how does the control continues in the first s_send and block on the second
s_send, when I haven't started sink on 5558 port.
?
I tried rbzmq from https://github.com/zeromq but it doesn't install. I
think this binding is no longer support for newer zmq. When I looked around
i found ffi-rzmq is also ruby binding for zmq. I wanna know the difference
between gem zqm and ffi-zmq. Which one should I use ?
Thanks,
Pritesh
I'm writing a service in C programming using libevent and zmq. Msg is
pushed from python code to C service using PUSH-PULL pattern.
fd received from zmq socket:
void *receiver = zmq_socket (base.zmq_ctx, ZMQ_PULL);
zmq_connect (receiver, tcp://localhost:5557);int fd=0;size_t fd_len
= sizeof(fd);
-getsockopt
in short, once ZMQ_FD is readable you need to look at ZMQ_EVENTS and
consume all messages
until ZMQ_EVENTS is clear
jon
On 3 May 2013 11:01, Pritesh Acharya priteshacha...@gmail.com wrote:
I'm writing a service in C programming using libevent and zmq. Msg is
pushed from
Content-Type: text/plain; charset=iso-8859-1
you need to read the man page about ZMQ_FD and ZMQ_EVENTS
http://api.zeromq.org/3-2:zmq-getsockopt
in short, once ZMQ_FD is readable you need to look at ZMQ_EVENTS and
consume all messages
until ZMQ_EVENTS is clear
jon
On 3 May 2013 11:01, Pritesh
I am using Windows 8, Visual Studio 2010. I compiled zmq dynamically and
czmq statically, but unable to compile the czmq_selftest project.
I checked the additional library directory and added path to czmq.lib.
Error 1 error LNK2019: unresolved external symbol _zauth_test referenced in
function
Is zmq using ssh supported.I couldn't find anything such in the core
library. Is there a library to secure zmq connection using ssh encription?
-Pritesh
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
Hi,
zmq version: zeromq-4.0.3(build as Windows DLL)
czmq version: czmq-2.0.3(build as Windows DLL)
IDE: Visual Studio Professional 2010
I have a small progream which creates two thread and uses ZMQ_PAIR socket
over inproc to send data from one to another.
One thread sends data using zstr_send and
And the strange thing is, If I use static version of czmq build, everything
works fine and no error on free(string).
On Wed, Apr 2, 2014 at 11:55 AM, Pritesh Acharya
priteshacha...@gmail.comwrote:
Hi,
zmq version: zeromq-4.0.3(build as Windows DLL)
czmq version: czmq-2.0.3(build as Windows
10 matches
Mail list logo