Język

DatagramSocketImpl.SendAsync(DatagramPacket) Method

Definition

Runs the socket implementation's Send(DatagramPacket) method on a thread-pool thread.

protected System.Threading.Tasks.Task SendAsync(Java.Net.DatagramPacket? p);
member this.SendAsync : Java.Net.DatagramPacket -> System.Threading.Tasks.Task

Parameters

p
DatagramPacket

The packet containing the data and destination address to send.

Returns

A task that completes when Send(DatagramPacket) returns. Completion does not confirm delivery to the destination.

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