XFNLNET_CLASS_PORT

xfServerPlus port number for xfNetLink .NET

The XFNLNET_CLASS_PORT setting specifies the port number that xfServerPlus is listening on for xfNetLink .NET. It can be set for all classes or for a specific class.

The port number on which xfServerPlus is listening. Valid ports are in the range 1024 through 65534.

The default value is 2356.

CLASS in the environment variable name can be either DEFAULT (which means the setting applies to all classes) or the name of a specific class in your assembly (which means it applies only to that class).

This environment variable can be used with any xfNetLink .NET application. If an application configuration file exists for a .NET Framework application, the value set in the config file will override the corresponding environment variable.

The environment where the client program runs.

xfNetLink .NET

In this example, MyClass will use port 2345 and all other classes will use 3456.

set XFNLNET_MyClass_PORT = 2345
set XFNLNET_DEFAULT_PORT = 3456