Connect Method
Connects to a remote host.
Syntax
async amqp.connect(host : string, port : number): Promise<void>
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)