ServerSocket.AcceptAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Waits for and accepts a client connection on a thread-pool thread.
public System.Threading.Tasks.Task<Java.Net.Socket?> AcceptAsync();
member this.AcceptAsync : unit -> System.Threading.Tasks.Task<Java.Net.Socket>
Returns
A task whose result is the socket returned by Accept() for the accepted connection.
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.