add ZMQ_TCP_RETRANSMIT_TIMEOUT socket option

This commit is contained in:
KIU Shueng Chuan
2015-08-06 23:36:27 +08:00
parent 064c2e0836
commit ca9215de1e
8 changed files with 74 additions and 1 deletions

View File

@@ -97,6 +97,11 @@ namespace zmq
// Default 0 (unused)
int connect_timeout;
// Maximum interval in milliseconds beyond which TCP will timeout
// retransmitted packets.
// Default 0 (unused)
int tcp_retransmit_timeout;
// Minimum interval between attempts to reconnect, in milliseconds.
// Default 100ms
int reconnect_ivl;