Integratec API Platform
opNetApi.opControlConnection.opControlConnection ( string  ip,
int  port 
)

Initializes the instance and opens a control connection.

Parameters
[in]ipControl hub IP address or host name.
[in]portControl hub TCP port.
Usage
Specify the control hub IP address or host name using the ip parameter and the control hub TCP port using the port parameter.
To close the control connection, call close. The control connection is automatically closed when the instance is destroyed.
See also
close, isOpen and open.