IPAddress.Any Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk