switch to "PUSH" mode

This commit is contained in:
Brandon Thomas
2021-01-13 14:56:11 -05:00
parent b098e7f849
commit eff18271cb
+1 -1
View File
@@ -12,7 +12,7 @@ use crate::color::Color;
fn main() {
let ctx = zmq::Context::new();
let socket = ctx.socket(zmq::REQ).unwrap();
let socket = ctx.socket(zmq::PUSH).unwrap();
socket.connect("tcp://127.0.0.1:5555").unwrap();
//socket.send("hello world!", 0).unwrap();