You can also use something like zmqc (https://github.com/jhawk28/zmqc) to send from the command line.

Joshua

March 15, 2013 6:18 AM

Hi,

 

You might want to read that http://rfc.zeromq.org/spec:13 . You need to use the correct protocol to communicate with a ZeroMQ peer. Hence you’d better use directly the ZeroMQ api for your client.

 

Regards,

 

From: zeromq-dev-boun...@lists.zeromq.org [mailto:zeromq-dev-boun...@lists.zeromq.org] On Behalf Of Pritesh Acharya
Sent: vendredi 15 mars 2013 10:09
To: zeromq-dev@lists.zeromq.org
Subject: [zeromq-dev] Basic server.c example

 

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/5555

2. nc localhost 5555

3. echo "hello" | socat - tcp4:localhost:5555

 

and several others. But nothing worked. If anyone could tell me if it's possible to do that , if yes how?

Pritesh

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to