nn::uds::CTR::DisallowToConnect Functionnn::Result DisallowToConnect( bool isDisallowToReconnect = false );
| Name | Description | |
|---|---|---|
| in | isDisallowToReconnect | If set to false, only the clients that were disconnected after calling this function can reconnect. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultNotInitialized |
The library is not initialized. Execute the Initialize function. |
ResultInvalidState |
Not in an executable state. Returned when executed in a state other than master. |
ResultWirelessOff |
Entered wireless-disabled mode. Re-initialization is required. |
| A value other than the above | Failed for reasons other than those given above. |
Disallows client nodes to connect to the network. Does not affect clients currently connected.
This connection denying feature was assumed for use when you want to deny new competing clients from connecting. When you want to allow connections once again, execute the AllowToConnect function. Only the master can run this function.
This function is thread-safe.
Initialize in Return Values.CONFIDENTIAL