Jazyk

ServerSocket.ImplAcceptAsync(Socket) Method

Definition

Accepts a client connection into the supplied socket on a thread-pool thread.

protected System.Threading.Tasks.Task ImplAcceptAsync(Java.Net.Socket? s);
member this.ImplAcceptAsync : Java.Net.Socket -> System.Threading.Tasks.Task

Parameters

s
Socket

The unconnected socket that ImplAccept(Socket) connects to the accepted client.

Returns

A task that completes when ImplAccept(Socket) returns and the supplied socket is connected to the client.

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