IPWorks MQ 2020 Python Edition

Questions / Feedback?

connect Method

Connects to a remote host.

Syntax

def connect(host: str, port: int) -> None: ...

Remarks

This method connects to a remote host. Calling this method is equivalent to setting the remote_host property to Host, setting remote_port to Port, and then setting the connected property to True.

Example (Connecting)


IPPortControl.Connect("MyHostNameOrIP", 777)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 Python Edition - Version 20.0 [Build 8155]