Share via


SSLSocketFactory.CreateSocketAsync Method

Definition

Overloads

CreateSocketAsync(Socket, String, Int32, Boolean)
CreateSocketAsync()

CreateSocketAsync(Socket, String, Int32, Boolean)

public System.Threading.Tasks.Task<Java.Net.Socket?> CreateSocketAsync (Java.Net.Socket? socket, string? host, int port, bool autoClose);
member this.CreateSocketAsync : Java.Net.Socket * string * int * bool -> System.Threading.Tasks.Task<Java.Net.Socket>

Parameters

socket
Socket
host
String
port
Int32
autoClose
Boolean

Returns

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

CreateSocketAsync()

public System.Threading.Tasks.Task<Java.Net.Socket?> CreateSocketAsync ();
member this.CreateSocketAsync : unit -> System.Threading.Tasks.Task<Java.Net.Socket>

Returns

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