dbSetPort

Purpose

Sets the specified database connection’s port number.

Format

dbSetPort(db_id, port_num)
Parameters:
  • db_id (scalar) – database connection index number.

  • port_num (scalar) – port number for database connection to use.

Remarks

This function must be called before the connection is opened with dbOpen() to have an effect.

See also

dbGetPort()