IPAddress.IPv6Any Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The Socket.Bind method uses the IPv6Any field to indicate that a Socket must listen for client activity on all network interfaces.

Namespace:   System.Net
Assembly:  System (in System.dll)

static val IPv6Any : IPAddress

Field Value

Type: System.Net.IPAddress

The IPv6Any field is equivalent to 0:0:0:0:0:0:0:0 in colon-hexadecimal notation, or to :: in compact notation.

The following code example displays the value of the current host's Any address in standard compressed format.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top