Connect Method

Connects to a remote host.

Object Oriented Interface

public function doConnect($host, $port);

Procedural Interface

ipworksiot_amqpclassic_do_connect($res, $host, $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)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 PHP Edition - Version 20.0 [Build 8265]