Udostępnij za pośrednictwem


DatagramSocketImpl.Receive(DatagramPacket) Method

Definition

Receive the datagram packet.

[Android.Runtime.Register("receive", "(Ljava/net/DatagramPacket;)V", "GetReceive_Ljava_net_DatagramPacket_Handler")]
protected abstract void Receive (Java.Net.DatagramPacket? p);
[<Android.Runtime.Register("receive", "(Ljava/net/DatagramPacket;)V", "GetReceive_Ljava_net_DatagramPacket_Handler")>]
abstract member Receive : Java.Net.DatagramPacket -> unit

Parameters

p
DatagramPacket

the Packet Received.

Attributes

Exceptions

if an error or timeout occurs while receiving data.

Remarks

Receive the datagram packet.

Java documentation for java.net.DatagramSocketImpl.receive(java.net.DatagramPacket).

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