Variable netio3::ZERO_COPY_SIZE_HEADER

Variable Documentation

static constexpr auto netio3::ZERO_COPY_SIZE_HEADER = {sizeof(std::uint64_t) + ZERO_COPY_MAX_SIZE_USER_DATA}

The size of the header in the buffer for zero-copy sending.

The header size is calculated as the sum of the size of a tag (8 byte) and the maximum size of user data.