System.Net.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.

Syntax

public static readonly IPAddress Any

Remarks

The System.Net.Sockets.Socket.Bind(EndPoint) method uses the IPAddress.Any field to indicate that a System.Net.Sockets.Socket instance must listen for client activity on all network interfaces.

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

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0