Sdílet prostřednictvím


ILayeredSocketFactoryExtensions.CreateSocketAsync Method

Definition

public static System.Threading.Tasks.Task<Java.Net.Socket?> CreateSocketAsync (this Org.Apache.Http.Conn.Schemes.ILayeredSocketFactory self, Java.Net.Socket? socket, string? host, int port, bool autoClose);
static member CreateSocketAsync : Org.Apache.Http.Conn.Schemes.ILayeredSocketFactory * 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