Język

SocketImpl.AcceptAsync(SocketImpl) Method

Definition

Runs the socket implementation's Accept(SocketImpl) method on a thread-pool thread.

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

Parameters

s
SocketImpl

The socket implementation that receives the accepted connection.

Returns

A task that completes when Accept(SocketImpl) 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