diff --git a/src/main.rs b/src/main.rs index 95d828f..c707c1d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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();