GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • node-simconnect
  • node-simconnect

This view

  • Original page
  • New address

GeezerVison is showing evenar.github.io — open | node-simconnect

  • open

Function open

  • open(
        appName: string,
        protocolVersion: Protocol,
        options?: ConnectionOptions,
    ): Promise<OpenEvent>

    Try opening a connection to SimConnect

    Parameters

    • appName: string

      An appropriate name for the client program. Your app will appear with this name in the SimConnect inspector in MSFS.

    • protocolVersion: Protocol

      Lowest protocol version

    • Optionaloptions: ConnectionOptions

      Used for connecting to a remote instance of SimConnect. If omitted it will attempt to read connection parameters from the following sources:

      • IP + port number from SimConnect.cfg in the node.js installation directory (or the installation directory of the Electron app)

      • IP + port number from SimConnect.cfg in the user's home directory

      • Named pipe found in the Windows registry (available when the sim has started)

      • Port number, for use with localhost, found in the Windows registry (available when the sim has started)

    Returns Promise<OpenEvent>

    • Defined in src/index.ts:42

Settings

Member Visibility
  • Protected
  • Inherited
  • External
Theme
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.