Man Page: rmr_set_low_lat¶
RMR LIBRARY FUNCTIONS¶
#include <rmr/rmr.h> void rmr_set_low_latency( void* vctx );
rmr_set_low_latency function enables TCP NO_DELAY
if the underlying transport library supports it. This might
be useful for applications which must send messages at a
A call to this function will cause all subsequent connections made by the application to set the no delay (low latency) option. When no delay is needed, it is recommended that this function be called immediately upon a successful call to the RMR initialisation function.
The effect of setting “low latency” mode is to disable Nagel’s algorithm and to send a packet on a connection as soon as it is given to the TCP transport. When this option is not enabled, TCP may employ Nagel’s algorithm and hold the packet with the assumption that it can be combined with another and sent in the same datagram in an effort to improve bandwidth but at the expense of added latency.
There is no return value.
This function does not generate any errors.