Function gnunet_sys::GNUNET_NETWORK_socket_disable_corking[][src]

pub unsafe extern "C" fn GNUNET_NETWORK_socket_disable_corking(
    desc: *mut GNUNET_NETWORK_Handle
) -> c_int

Disable the “CORK” feature for communication with the given socket, forcing the OS to immediately flush the buffer on transmission instead of potentially buffering multiple messages. Essentially reduces the OS send buffers to zero.

@param desc socket @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise