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

Opens and registers a client connection to a master.

Parameters
[in]ipMaster IP address, host name or endpoint.
[in]portMaster TCP port.
Usage
Specify the master IP address, host name or endpoint using the ip parameter and the master TCP port using the port parameter.
When specifying an endpoint, the ip parameter must be of the form tcp://host:port and the port parameter must be 0.
To close the client connection, call close. The client connection is automatically closed when the instance is destroyed.
See also
close, isOpen and opClientConnection(string ip, int port).