Connect Method

This method will connect the class to the server.

Object Oriented Interface

public function doConnect($user, $password);

Procedural Interface

ipworksmq_xmpp_do_connect($res, $user, $password);

Remarks

The Connect method performs the entire connection routine. This includes connection to the IMServer, user logon and authentication, and session initialization.

The Connected event will fire once for the initial TCP connection and again when the XMPP Logon is complete.

Since Connect is called with a user and password specified, the User and Password properties will updated accordingly.

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