Export (0) Print
Expand All

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

Show:
© 2015 Microsoft