Skip to content

Commit 48d5c7e

Browse files
Merge pull request #418 from tjrmarques/tcp_maxrt
Expose TCP_MAXRT socket option
2 parents 7ffd6c8 + c0df32b commit 48d5c7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,8 @@ impl Socket {
877877
(get_heartbeat_ttl, set_heartbeat_ttl) => ZMQ_HEARTBEAT_TTL as i32,
878878
(get_heartbeat_timeout, set_heartbeat_timeout) => ZMQ_HEARTBEAT_TIMEOUT as i32,
879879
(get_connect_timeout, set_connect_timeout) => ZMQ_CONNECT_TIMEOUT as i32,
880+
881+
(get_tcp_maxrt, set_tcp_maxrt) => ZMQ_TCP_MAXRT as i32,
880882
}
881883

882884
// TODO: deprecate to align with ZMQ's preferred naming

0 commit comments

Comments
 (0)