Function noDelay

Synopsis

#include <src/uvw/tcp.h>

bool noDelay(bool value=false)

Description

Enables/Disables Nagle’s algorithm.

Parameters

value - True to enable it, false otherwise.

Returns
True in case of success, false otherwise.

Source

Lines 26-28 in src/uvw/tcp.cpp. Line 76 in src/uvw/tcp.h.

UVW_INLINE bool TCPHandle::noDelay(bool value) {
    return (0 == uv_tcp_nodelay(get(), value));
}





Add Discussion as Guest

Log in