Closed nagisa closed 5 years ago
Dupe of https://github.com/erickt/rust-zmq/issues/238 - in short, the semantics does not match. zmq sockets don't deal in byte streams, but messages (and in some cases, streams of messages).
The exception may be ZMQ_STREAM sockets, which are meant for interfacing with non-zmq TCP sockets.
It would be great if we could make ∅MQ to blend in with the usual I/O streams. Some of this could be achieved with
Write
andSend
trait impls(?).