Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPAddress.Any Field

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

[Visual Basic]
Public Shared ReadOnly Any As IPAddress
[C#]
public static readonly IPAddress Any;
[C++]
public: static IPAddress* Any;
[JScript]
public static var Any : IPAddress;

Remarks

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

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

IPAddress Class | IPAddress Members | System.Net Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft