[zeromq-dev] Basic server.c example

Joshua Foster jhawk28 at gmail.com
Fri Mar 15 14:25:49 CET 2013


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

Joshua

> Alexandre Fromage <mailto:alex at taxistop.com>
> 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-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
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130315/e0de5765/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130315/e0de5765/attachment.jpg>


More information about the zeromq-dev mailing list