DatagramSocketImpl.PeekData(DatagramPacket) DatagramSocketImpl.PeekData(DatagramPacket) Method

Definition

Receives data into the supplied datagram packet by peeking.

[Android.Runtime.Register("peekData", "(Ljava/net/DatagramPacket;)I", "GetPeekData_Ljava_net_DatagramPacket_Handler")]
protected abstract int PeekData (Java.Net.DatagramPacket p);
abstract member PeekData : Java.Net.DatagramPacket -> int

Parameters

Returns

Exceptions

if an error occurs while peeking at the data.

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