Język

OsConstants.GaiName(Int32) Method

Definition

Returns the string name of a getaddrinfo(3) error value.

[Android.Runtime.Register("gaiName", "(I)Ljava/lang/String;", "")]
public static string? GaiName(int error);
[<Android.Runtime.Register("gaiName", "(I)Ljava/lang/String;", "")>]
static member GaiName : int -> string

Parameters

error
Int32

The address-resolution error code to look up.

Returns

The corresponding EAI_* name, or null if the code is not recognized.

Attributes

Remarks

Returns the string name of a getaddrinfo(3) error value. For example, "EAI_AGAIN".

Java documentation for android.system.OsConstants.gaiName(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to