Click or drag to resize

VaserClientConnectClient Method (String, Int32, PortalCollection, VaserSSLClient)

Connect to a Vaser server via SSL.

Namespace:  Vaser
Assembly:  Vaser (in Vaser.dll) Version: 1.1.23.0 (1.1.23.0)
Syntax
C#
public static Link ConnectClient( 	string IP, 	int RemotePort, 	PortalCollection PColl, 	VaserSSLClient SSL )

Parameters

IP
Type: SystemString
Hostname or IP-Address.
RemotePort
Type: SystemInt32
Target port of the remote server.
PColl
Type: VaserPortalCollection
The Portal Collection.
SSL
Type: Vaser.ConnectionSettingsVaserSSLClient
The SSL connectionsettings.

Return Value

Type: Link
Returns the link of the connection.
Exceptions
ExceptionCondition
SocketExceptionThrown if vaser is unable to create a socket or a connection.
See Also