nn::http::Connection::ConnectAsync Member Functionnn::Result ConnectAsync( void );
None.
| Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
| ResultMessageSendToListenThreadErr | Error indicating that the maximum number of HTTP sessions are already in use by the device. |
| ResultConnectionCanceledErr | Error indicating that the connection was canceled. To reconnect, first call the Connection class's Finalize function, and then call Initialize again. |
| ResultNotConnectedErr | Error indicating a Connection class instance for which the target URL is not assigned. The function has not done anything as it has been called on a Connection instance for which you have not yet successfully called 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). |
Starts a connection with the communication target. (This is the asynchronous version of the function. In other words, if the maximum number of HTTP sessions are already in use by the device, this function returns an error.」)
CONFIDENTIAL