Product Documentation

Installing FairCom Products

Previous Topic

Next Topic

Configuring TCP/IP Broadcast

The following information increases security risk.

It is possible for your vendor to create client applications that listen for an available FairCom Server without knowing the Server Name in advance. A FairCom Server can be configured to broadcast its Server Name and IP address over a TCP/IP port.

With this method, it is possible for a client to detect the various FairCom Servers operating on the network and obtain their Server Names, including IP addresses.

These server keywords support the broadcast feature: BROADCAST_PORT, BROADCAST_INTERVAL, and BROADCAST_DATA. See the examples in FairCom DB Configuration Options.

  • BROADCAST_PORT specifies the TCP/IP port used for the broadcast.

    The default value is 0, which means the broadcast is off.

    If DEFAULT is specified, this means that the broadcast is on and the default port is used, which is 5595.

    Any valid four-byte integer greater than 5000 that is not in use by another process may be specified. This should NOT be the port for the FairCom Server, which is displayed at startup and is based on the Server Name. See the examples below.

  • BROADCAST_INTERVAL determines the number of seconds between broadcasts. The default is 10 seconds, otherwise the token should be a number.

    If the number is negative, each broadcast is also sent to the FairCom Server standard output.

    To prevent unreasonable values, the maximum value allowed is set to 86,400 seconds, which is once per day.

  • BROADCAST_DATA specifies a token to be broadcast following the Server Name. The token must not contain spaces. The Server Name will be followed by a vertical bar character, ‘|’, which is followed by the token. There is no default token.

Using the following sample keywords and assuming the host IP address was, the FairCom Server broadcasts “SAMPLE | | 5451| FAIRCOM_SERVER” on port 6329 every 90 seconds: