Connect

Connects to the server. You can connect via HTTP or SOCKET.

Note: COM uses the HTTP, HTTPS, or SOCKET server connection protocol. HTTP and HTTPS logically establish a client connection but do not actually connect to the server until a GetService or Process method is invoked. The SOCKET protocol establishes a connection to the server when Connect is invoked.

Syntax

Sub connect() 

Parameters

None.

Results

None.

Exception

Connection type not supported.

Example

Dim server As New G1CLIENTLib.server
server.connect