Click or drag to resize

VaserClientConnectClient Method (String, Int32, PortalCollection)

Opens an unencrypted connection to a server.

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 )

Parameters

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

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