Understanding Client - System and Server Advise Connections

A ViewX client connects to a Geo SCADA Expert server via two types of connection:

Using two types of connection has a major benefit—it reduces the overhead on network resources. As the server can send unsolicited updates to the client via the server advise connection, it means that the client does not have to continuously poll the server for updates. This results in less traffic between the client and server, which frees up network resources.

If both the client and the server are running Geo SCADA Expert 2020 or later versions of the software then multiple client - system connections and the server advise connection are multiplexed into a single underlying connection. This avoids the need for the server to establish a connection to the client and so simplifies firewall configuration compared to prior versions of Geo SCADA Expert, while still retaining the benefit described above.

Connections of both types are established when ViewX is run on a client. The procedure for establishing the connections is:

  1. ViewX is run on the client.
  2. This step only applies when one or both ends of the connection (server or client) are running a version of Geo SCADA Expert that is earlier than Geo SCADA Expert 2020. If so, the client checks which of its incoming ports are available and then chooses one of the ports (the default range of incoming ports is 5500 to 5509, but these can be altered via the Sockets setting during the client configuration (see Change the Range of Ports for the Client’s Incoming Data)). The port that is chosen is the port that will be used to receive data via the server advise connection.

    ATTENTION: If the ports in the defined Sockets range are in use by other applications, the client will use another available port. If a firewall is in place between the client and server, this may cause the connection attempt to fail.

  3. The client transmits a message to the server. The transmission is sent to the server’s incoming data port which is port 5481 by default (but this can be changed in the server configuration, see Configure the Main and Backup Connections in the Geo SCADA Expert Guide to Server Administration).
  4. If both the client and the server are running a version of Geo SCADA Expert of at least Geo SCADA Expert 2020, then the advise connection is multiplexed into the already established client – system connection.

    If either end of the connection (server or client) is running a version of Geo SCADA Expert that is earlier than Geo SCADA Expert 2020, then the advise connection is established as follows:

    1. When the server receives the transmission from the client, it admits the transmission and establishes the client - system connection. The transmission from the client contains information about the client’s incoming data port and the server uses this information to establish the server advise connection (it is the port chosen in step 2 of this procedure).
    2. The server transmits a message to the client’s incoming data port to establish the server advise connection.

When both the client-server and the server advise connections have been established, the system is shown as 'Online' in ViewX's Database bar and you can begin to work on the client.

If you have run ViewX and the system remains 'Offline', Geo SCADA Expert may have detected a problem with the client-server connection or the server advise connection. For more information, see Failed Client - System and Server Advise Connections.


Disclaimer

Geo SCADA Expert 2020