you actually receive 2 frames from the zmq stream socket, you have to strip
them of one by one.
The first one you have to conserve in case you want to respond to that peer the
message comes from.
The second one is your actual data.
ju
From: zeromq-dev on
On Wed, 2017-11-29 at 20:00 +, Brian Wagener wrote:
> I have an application that uses zeromq for various things and want to
> also
> use it as a tcp client for other external connections. Currently if
> the
> external tcp server sends data, the client receives 5 byte id, 0
> bytes, 5
> bytes, a
I have an application that uses zeromq for various things and want to also
use it as a tcp client for other external connections. Currently if the
external tcp server sends data, the client receives 5 byte id, 0 bytes, 5
bytes, and then actual message. How do I get zeromq not to send this stuff.
You may also find Pushpin interesting:
https://github.com/fanout/pushpin
It can listen for data using ZeroMQ (SUB or PULL) and send over raw
WebSockets or long-lived HTTP responses. It's mainly useful if you have
a web API-oriented architecture.
Justin
On Wed, Nov 29, 2017, at 04:52 AM, Juergen G
Hi Juergen Gnoss,
Thank you very much. You were right. I fixed it. However, there is still
following error being shown in terminal:
make[2]: *** No rule to make target `/usr/local/lib/libzmq.so', needed by
`/home/ravi/ros_ws/devel/lib/beginner_tutorials_ravi/talker_zmq'. Stop.
Below are the p
do you have that space in
ZMQ_ RCVTIMEO
in your program too?
From: zeromq-dev on behalf of Ravi Joshi
via zeromq-dev
Sent: Wednesday, November 29, 2017 7:44 AM
To: ZeroMQ Development List
Cc: Ravi Joshi
Subject: [zeromq-dev] Error, No rule to make target
Many thanks Kevin,
that's exactly what I was looking for.
You made my day.
Ju
From: zeromq-dev on behalf of Kevin
Sapper
Sent: Wednesday, November 29, 2017 7:44 AM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] connect a Web Page to zeromq-radio
Hi
Hi,
I am trying to use ZeroMQ with ROS Indigo. I am yet not sure if the problem is
related to ROS or not. Let me explain it briefly.
I am setting the ZeroMQ socket timeout option in the following way:
zmq_socket.setsockopt(ZMQ_ RCVTIMEO, &timeout, sizeof(timeout));
It is showing this error: talk
Hi Juergen,
AJAX supports only polling which is not what you want. Have a look at
WebSockets which support communications in both directions.
Also have a look at https://github.com/zeromq/zwssock for your server and
https://github.com/zeromq/JSMQ for the client (browser).
//Kevin
2017-11-28 15: