[zeromq-dev] Basic server.c example

Alexandre Fromage alex at taxistop.com
Fri Mar 15 11:18:57 CET 2013


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-bounces at lists.zeromq.org
[mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Pritesh Acharya
Sent: vendredi 15 mars 2013 10:09
To: zeromq-dev at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130315/36baaaec/attachment.htm>


More information about the zeromq-dev mailing list