Method lrs::socket::Socket::set_send_buffer_size

Sets the maximal send buffer size of this socket.

Syntax

impl Socket {
    fn set_send_buffer_size(&self, size: usize) -> Result<(), Errno>
}

Arguments

NameDescription
size

The maximal send buffer size of this socket.

Remarks

The argument must be representable in a c_int. The value will be doubled by the kernel and this doubled value will be returned by a call to send_buffer_size.

See also