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 function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultNotConnectedErr Error indicating that no target URL was assigned to the Connection object. No action performed because the Connection object has not been initialized by a successful call of Initialize.
ResultNotInitializedErr Error indicating that the library is not initialized. None of this library's functions can be used until you first call nn::http::Initialize.
A value other than the above. Unexpected error (See http_Result.h for details).

Description

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

Revision History

2010/06/14
Initial version.

CONFIDENTIAL