Edit

Share via


IPAddress.Any Field

Definition

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

public: static initonly System::Net::IPAddress ^ Any;
public static readonly System.Net.IPAddress Any;
 staticval mutable Any : System.Net.IPAddress
Public Shared ReadOnly Any As IPAddress 

Field Value

Remarks

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.

Applies to