Hi, I am wondering whether there is any way to check, for a zeromq socket using tcp, whether the underlying tcp connection/s is/are currently connected.
Could this be done with a zmq_getsockopt, specific to tcp zmq sockets? I would like something like ZMQ_NCONNECTED, to return the transient number of underlying sockets currently in a connected state. The use case is for request routing. We will use heartbeats and load statistics, but for the simple case where an endpoint is explicitly shut down we would like to send incoming requests to other endpoints primarily, without waiting for HWM, heartbeats or other measures to react. Best regards, Mattias -- Mattias de Zalenski Software Developer Spotify This e-mail (including any attachments) may contain information that is confidential and/or privileged. It is intended only for the recipient(s). If you have reason to believe that you are not the intended recipient of this e-mail, please contact the sender immediately and delete the e-mail from your computer.
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
