Opens a control connection to a control hub.
- Parameters
-
[in] | ip | Control hub IP address or host name. |
[in] | port | Control hub TCP port. |
[in] | control | Handle representing the control connection. |
[out] | errorMsg | Error message describing the failure, set if the function fails. |
- Returns
- If the function succeeds, the return value is non-zero and control is set to a handle representing the control connection.
If the function fails, the return value is zero and errorMsg is set to an error message describing the failure.
- Usage
- Specify the control hub IP address or host name using the ip parameter and the control hub TCP port using the port parameter.
- Attention
- Close the control connection using opControlConnectionClose when you no longer need it.
- See also
- opControlConnectionClose.