Sets the maximal send buffer size of this socket, overriding normal system limits.
impl Socket {
fn force_set_send_buffer_size(&self, size: usize) -> Result<(), Errno>
}| Name | Description |
|---|---|
| size | The maximal send buffer size of this socket. |
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.
This function is different from set_send_buffer_size in that privileged processes can override the system limits imposed on the buffer size.
socket(7) and SO_SNDBUFFORCE therein