AmsTcpIpRouter.AcceptedLoopbackNetwork Property
Gets the Allowed loopback network.
Namespace: TwinCAT.Ads.TcpRouter
Assembly: TwinCAT.Ads.TcpRouter (in
TwinCAT.Ads.TcpRouter.dll) Version: 6.0.328+39e3229
Syntax
C#
public IPNetwork? AcceptedLoopbackNetwork { get; }
Property Value
Type: IPNetwork
The allowed loopback network in CIDR notation
Remarks
This subnet specifies the range of valid (external) IPAddresses that are allowed to use the now 'virtual' internal Loopback TCP socket. If not set, the AmsTcpIpRouter allows on the internal Loopback socket only connections from the same machine. These connections are used for the 'internal' bidirectional communication between Router and AdsClient/AdsServer. To enable sophisticated scenarios (e.g. virtualization of AdsClient or AdsServer applications running in a decoupled environment/container independant of the Router) the accepted Network can be set. The specified network then forms a virtual ADS Device using the Device internal loopback port. This property can be used as an alternative to AcceptedLoopbackIPs.