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

Opens a control connection to a control hub.

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 opControlConnection(string ip, int port).