Back to product page

Connected event


Fires when wodXMPP connects to remote server.

Syntax

  • Basic
Private Sub object_Connected

Remarks

Connected event will be fired after Connect method is issued and wodXMPP successfully connects to the server. If connection fails (for whatever reason, such as bad password) Disconnected event will be fired instead.

It is possible that wodXMPP will internally negotiate connection parameters, before Connected event is fired at all. This is done to make wodXMPP as much transparent to protocol used as possible. You might notice packets transmitted to/from server in the meantime, meaning wodXMPP connected already but is still negotiating protocol parameters.

Platforms

Windows