nn::http::Connection::SendPostDataAscii Member Function

Syntax

nn::Result SendPostDataAscii(
     const char * pLabel,
     const char * pValue,
     const nn::fnd::TimeSpan & timeout
);

Arguments

Name Description
in pLabel Label name of the data.
in pValue Data content.
in timeout Timeout interval.

Return Values

Returns the function's execution result. Returns a Result listed below.
Value Description
ResultSuccess Process was successful.
ResultTimeout Error indicating a timeout.
A value other than the above. Same as for the SendPostDataAscii function version that has no timeout argument.

Description

This version of SendPostDataAscii has a timeout.

Other than allowing the caller to specify a timeout, this version functions identically to the version of SendPostDataAscii. For feature details, see the function reference for the version without a timeout. Returns ResultTimeout if no POST data has been fully sent within the timeout period. If ResultTimeout is returned, the connection is automatically canceled. (In other words, the function internally implements Cancel.)

Revision History

2010/06/14
Initial version.

CONFIDENTIAL