~~NOTRANS~~ ====== OpcAddressScope Enum ====== **Namespace:** Opc.UaFx \\ **Assemblies:** Opc.UaFx.Advanced.dll Defines the different address scopes to use when binding a socket to a network interface. **C#** \\ <code csharp> [Flags] public enum OpcAddressScope : byte </code> \\ **Inheritance** [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] › [[https://docs.microsoft.com/en-us/dotnet/api/system.valuetype|ValueType]] › [[https://docs.microsoft.com/en-us/dotnet/api/system.enum|Enum]] › OpcAddressScope \\ **Attributes** [[https://docs.microsoft.com/en-us/dotnet/api/system.flagsattribute|FlagsAttribute]] ===== Fields ===== <panel> ^ Name ^ Value ^ Description ^ | IPv4 | 1 | All IPv4 addresses are bound by the [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#Sockets.Socket|Sockets.Socket]] instance used. This means that the [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#IPAddress|IPAddress]][[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#IPAddress.Any|IPAddress.Any]] is used for the [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#IPEndPoint|IPEndPoint]] the [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#Sockets.Socket|Sockets.Socket]] is bound to. | | IPv6 | 2 | All IPv6 addresses are bound by the [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#Sockets.Socket|Sockets.Socket]] instance used. This means that the [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#IPAddress|IPAddress]][[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#IPAddress.IPv6Any|IPAddress.IPv6Any]] is used for the [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#IPEndPoint|IPEndPoint]] the [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#Sockets.Socket|Sockets.Socket]] is bound to. | | IPvX | 3 | All IPv4 and IPv6 addresses are bound by [[https://docs.microsoft.com/en-us/dotnet/api/system.netmembers#Sockets.Socket|Sockets.Socket]] instances. This member combines [[Opc.UaFx.OpcAddressScopeMembers#IPv4|IPv4]] and [[Opc.UaFx.OpcAddressScopeMembers#IPv6|IPv6]]. | </panel>