Any Field

IPAddress.Any Field

 

Provides an IP address that indicates that the server must listen for client activity on all network interfaces. This field is read-only.

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

public static readonly IPAddress Any

Field Value

Type: System.Net.IPAddress

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

The Any field is equivalent to 0.0.0.0 in dotted-quad notation.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2016 Microsoft