zeromq / chumak

Pure Erlang implementation of ZeroMQ Message Transport Protocol.
Mozilla Public License 2.0
197 stars 47 forks source link

Delivery feedback when sending multipart message? #55

Closed an0nym05 closed 6 months ago

an0nym05 commented 6 months ago

Hi,

I'm using the library in a simple implementation of the 7/MDP protocol (https://rfc.zeromq.org/spec/7/) and using ROUTER/DEALER sockets combination. The issue I'm experiencing is when client is disconnected - is there a way to monitor for disconnect knowing the identity? Relying on MDP heartbeats also doesn't help as :chumak.send_multipart/2 always returns :ok, also for disconnected parties.

Thank you in advance!

drozzy commented 6 months ago

Hey, If you want to submit PR I would be happy to merge it👏