Udostępnij za pośrednictwem


ISocketFactoryExtensions.ConnectSocketAsync Method

Definition

public static System.Threading.Tasks.Task<Java.Net.Socket?> ConnectSocketAsync (this Org.Apache.Http.Conn.Schemes.ISocketFactory self, Java.Net.Socket? sock, string? host, int port, Java.Net.InetAddress? localAddress, int localPort, Org.Apache.Http.Params.IHttpParams? params);
static member ConnectSocketAsync : Org.Apache.Http.Conn.Schemes.ISocketFactory * 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