nopoll_bool nopoll_conn_set_sock_tcp_nodelay ( NOPOLL_SOCKET  socket,
nopoll_bool  enable 
)

Allows to configure tcp no delay flag (enable/disable Nagle algorithm).

Parameters
socketThe socket to be configured.
enableThe value to be configured, nopoll_true to enable tcp no delay.
Returns
nopoll_true if the operation is completed.

References nopoll_false, and nopoll_true.