IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

Connect Method

Connects to a remote host.

Syntax

[VB.NET]
Public Sub Connect(ByVal Host As String, ByVal Port As Integer)
[C#]
public void Connect(string host, int port);

Remarks

This method connects to a remote host. Calling this method is equivalent to setting the RemoteHost property to Host, setting RemotePort to Port, and then setting the Connected property to True.

Example (Connecting)


IPPortControl.Connect("MyHostNameOrIP", 777)

NOTE: This method has a corresponding asynchronous version (ConnectAsync) for use in the WinRT environment.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0