Problem: ZMQ_TCP_RETRANSMIT_TIMEOUT is a clumsy name

Solution: rename to ZMQ_MAXRT

This is the option name used on Windows, so easier to use and
remember.
This commit is contained in:
Pieter Hintjens
2016-02-09 09:33:29 +01:00
parent 5eccd874d6
commit da8ce55a14
9 changed files with 25 additions and 25 deletions

View File

@@ -146,7 +146,7 @@ void zmq::tcp_connecter_t::out_event ()
tune_tcp_socket (fd);
tune_tcp_keepalives (fd, options.tcp_keepalive, options.tcp_keepalive_cnt, options.tcp_keepalive_idle, options.tcp_keepalive_intvl);
tune_tcp_retransmit_timeout (fd, options.tcp_retransmit_timeout);
tune_tcp_maxrt (fd, options.tcp_maxrt);
// remember our fd for ZMQ_SRCFD in messages
socket->set_fd (fd);