Compartilhar via


SSLSocketFactory.ConnectSocketAsync Method

Definition

public System.Threading.Tasks.Task<Java.Net.Socket?> ConnectSocketAsync (Java.Net.Socket? sock, string? host, int port, Java.Net.InetAddress? localAddress, int localPort, Org.Apache.Http.Params.IHttpParams? params);
member this.ConnectSocketAsync : Java.Net.Socket * string * int * Java.Net.InetAddress * int * Org.Apache.Http.Params.IHttpParams -> System.Threading.Tasks.Task<Java.Net.Socket>

Parameters

sock
Socket
host
String
port
Int32
localAddress
InetAddress
localPort
Int32
params
IHttpParams

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