nn::http::Connection::SetSocketBufferSize Member Function

Syntax

nn::Result SetSocketBufferSize(
     size_t size
);

Arguments

Name Description
in size Size to set for the TCP receive buffer.

Return Values

Returns the processing result.

Description

Sets the size of the TCP receive buffer used by sockets during communication.

Note that the memory used for the receive buffer is assigned from the memory that was allocated in advance within the HTTP library. Configuration may fail if HTTP sessions created by other modules specified large receive buffers. If an error occurs, you can ignore it and continue processing your code.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL