Skip to content

Reference

OpcServerBinding Members

Provides a set of options used when binding a server instance to a network interface.

Reference

OpcServerBinding Members ​

Type
OpcServerBinding
Namespace
Opc.UaFx.Server
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Properties ​

Addresses ​

since v2.15

Gets a collection of IPAddress objects to use to bind to the according network interfaces.

csharp
public IPAddressCollection Addresses { get; }
vbnet
Public ReadOnly Property Addresses As IPAddressCollection

Property value

IPAddressCollection

An instance of the IPAddressCollection class with the IPAddress objects identifying the network interfaces to bind to.

Remarks

In case there the collection is empty Any and/or IPv6Any is used instead (see AddressScope).

AddressScope ​

Gets or sets the address scope the server is to be bound to.

csharp
public OpcAddressScope AddressScope { get; set; }
vbnet
Public Property AddressScope As OpcAddressScope

Property value

OpcAddressScope

One of the members defined by the OpcAddressScope enumeration. The default value is IPvX.

Remarks

Using this property it is possible to define which IPAddress scope is bound to a Socket instance used by the server. For more information about the supported scopes see OpcAddressScope.

UseExclusiveAddress ​

since v2.54

Gets or sets a value that indicates whether the listener socket should use exclusive address when binding, which allows only one process to bind to a specific port.

csharp
public bool UseExclusiveAddress { get; set; }
vbnet
Public Property UseExclusiveAddress As Boolean

Property value

Boolean

true to use exclusive address when binding to the port, false to not use it. The default is true.