nn::hio::CTR::SerialChannel::WaitHost Member Function#include <nn/hio.h> Result WaitHost( bit32 attr = ATTRIBUTE_NONE );
| Name | Description | |
|---|---|---|
| in | attr | Attribute during connection. If set to ATTRIBUTE_NONE, the function blocks until a connection from the host is established.If set to ATTRIBUTE_NO_WAIT, it returns the result of the operation without waiting for the connection from the host. |
Waits for a connection from the host.
If the connection succeeded, it returns a Result value equivalent to ResultConnected.
If ATTRIBUTE_NO_WAIT is specified but a connection has not yet been established, it returns a Result value equivalent to ResultNoConnected.
CONFIDENTIAL