AmsTcpIpRouter.AcceptedLoopbackIPs Property

Gets the allowed loopback sources.

Namespace:  TwinCAT.Ads.TcpRouter
Assembly:  TwinCAT.Ads.TcpRouter (in TwinCAT.Ads.TcpRouter.dll) Version: 6.0.328+39e3229

Syntax

C#

public IPAddress[]? AcceptedLoopbackIPs { get; }

Property Value

Type: .IPAddress.
The allowed loopback sources.

Remarks

These are the Loopback sources that can use the configured Loopback for communication

Remarks

This array 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.

Reference

AmsTcpIpRouter Class

TwinCAT.Ads.TcpRouter Namespace

AmsTcpIpRouter.AcceptedLoopbackNetwork