Connection.reconnect

Reconnects to the server using the same connection settings originally used to create the Connection.

Optionally takes a SvrCapFlags, allowing you to reconnect using a different set of server capability flags (most users will not need to do this).

If the connection is already open, this will do nothing. However, if you request a different set of SvrCapFlags then was originally used to create the Connection, the connection will be closed and then reconnected.

  1. void reconnect()
    class Connection
    void
    reconnect
    ()
  2. void reconnect(SvrCapFlags clientCapabilities)

Meta