xdb#

swordfish.function.xdb()#

Connect to a remote site. This remote site must be on. If the connection is successful, it returns the handle of the remote connection.

Parameters:
  • host (Constant) – The host name (IP address or website) of the remote node.

  • port (Constant) – An integral indicating the port number of the remote node

  • userId (Constant, optional) – A string indicationg the user name, by default DFLT.

  • password (Constant, optional) – A string indicationg the password, by default DFLT

  • enableSSL (Constant, optional) – A boolean value determining whether to use the SSL protocol for encrypted communication, by default DFLT