Connect

This method connects a process to the instrumentation server at a given socket address and port.

Visibility

Public

Signature
virtual int Connect (const char* SocketAddress = NULL,
   unsigned int nSocketPort = 0) = 0;
Parameters
SocketAddress

The socket address. If you do not specify a socket address, its default value is a NULL string.

nSocketPort

The port number of the socket. If you do not specify a port number, the value 0 is used.

Returns

The connection status. The possible values are as follows:


Feedback