On Wed, 2017-11-29 at 20:00 +0000, 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, and then actual message. How do I get zeromq not to send this
> stuff.

http://api.zeromq.org/4-2:zmq-socket

"When receiving TCP data, a ZMQ_STREAM socket shall prepend a message
part containing the routing id of the originating peer to the message
before passing it to the application."

and

"When a connection is made, a zero-length message will be received by
the application. Similarly, when the peer disconnects (or the
connection is lost), a zero-length message will be received by the
application."

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to