Language

LocalServerSocket.AcceptAsync Method

Definition

Runs Accept on a thread-pool thread.

public System.Threading.Tasks.Task<Android.Net.LocalSocket?> AcceptAsync();
member this.AcceptAsync : unit -> System.Threading.Tasks.Task<Android.Net.LocalSocket>

Returns

A task whose result is the accepted local socket; an exception from Accept faults the task.

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