Skip to content

Commit

Permalink
Fix send_all on eio
Browse files Browse the repository at this point in the history
  • Loading branch information
ComanderP committed May 5, 2024
1 parent 7cca40d commit 8323348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zmq-eio/src/socket.ml
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ let send_msg t message =
request t t.senders (fun () -> Zmq.Socket.send_msg ~block:false t.socket message)

let send_all t =
request t t.receivers (fun () -> Zmq.Socket.send_all ~block:false t.socket)
request t t.senders (fun () -> Zmq.Socket.send_all ~block:false t.socket)

let send_msg_all t =
request t t.receivers (fun () -> Zmq.Socket.send_msg_all ~block:false t.socket)
request t t.senders (fun () -> Zmq.Socket.send_msg_all ~block:false t.socket)

let recv t =
request t t.receivers (fun () -> Zmq.Socket.recv ~block:false t.socket)
Expand Down

0 comments on commit 8323348

Please sign in to comment.