1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. SPDX-License-Identifier: CC-BY-4.0
3 .. CAUTION: this document is generated from source in doc/src/rtd.
4 .. To make changes edit the source and recompile the document.
5 .. Do NOT make changes directly to .rst or .md files.
7 ============================================================================================
8 Man Page: rmr_set_low_lat
9 ============================================================================================
33 void rmr_set_low_latency( void* vctx );
41 The ``rmr_set_low_latency`` function enables *TCP NO_DELAY*
42 if the underlying transport library supports it. This might
43 be useful for applications which must send messages at a
46 A call to this function will cause all subsequent connections
47 made by the application to set the no delay (low latency)
48 option. When no delay is needed, it is recommended that this
49 function be called immediately upon a successful call to the
50 RMR initialisation function.
52 The effect of setting "low latency" mode is to disable
53 Nagel's algorithm and to send a packet on a connection as
54 soon as it is given to the TCP transport. When this option is
55 not enabled, TCP may employ Nagel's algorithm and hold the
56 packet with the assumption that it can be combined with
57 another and sent in the same datagram in an effort to improve
58 bandwidth but at the expense of added latency.
64 There is no return value.
70 This function does not generate any errors.
76 rmr_init(3), rmr_fast_ack(3)