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 result of the operation.

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