boost::corosio::tcp_socket::set_send_buffer_size

Set the send buffer size (SO_SNDBUF).

Synopsis

void
set_send_buffer_size(int size);

Description

The operating system may adjust the actual buffer size.

Exceptions

Name

Thrown on

std::logic_error

if the socket is not open.

std::system_error

on failure.

Parameters

Name Description

size

The desired send buffer size in bytes.

Created with MrDocs