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 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:
LinkReturns the link of the connection.
Exceptions Exception | Condition |
---|
SocketException | Thrown if vaser is unable to create a socket or a connection. |
See Also