Connect method
Connect to the given host and port number.
Applies to
CHMllpClient
Declaration
Public Sub Connect(ByVal Host As String, ByVal Port As Long)
Description
Function requires a running message loop (see RunMessageLoop).
Blocking: Function does not block.
Events: If the connection succeeds, a Connected event results. If the connection fails, an ErrorReceived event results, containing the error message indicating why the connect attempt has failed.
Parameters |
Host | Host to connect to. |
Port | Port to connect to. |