Sample03: C++ as ADS server

This article describes:

Understanding the sample

Options for the automatic determination of an ADS port are used in the sample. The disadvantage of this is that the client has to be configured at each start in order to access the correct ADS port.

Alternatively, the ADS port can be hard-coded in the module as shown below.
Disadvantage here: The C++ module cannot be instanced more than once as it is not possible to share an ADS port.

Sample03: C++ as ADS server 1: