Språk

SecurityManager.CheckAccept(String, Int32) Method

Definition

The Android base implementation does not check socket acceptance.

[Android.Runtime.Register("checkAccept", "(Ljava/lang/String;I)V", "GetCheckAccept_Ljava_lang_String_IHandler")]
public virtual void CheckAccept(string? host, int port);
[<Android.Runtime.Register("checkAccept", "(Ljava/lang/String;I)V", "GetCheckAccept_Ljava_lang_String_IHandler")>]
abstract member CheckAccept : string * int -> unit
override this.CheckAccept : string * int -> unit

Parameters

host
String

The remote host of the connection.

port
Int32

The port number.

Attributes

Remarks

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