Udostępnij za pośrednictwem


Socket.SendUrgentData(Int32) Method

Definition

Send one byte of urgent data on the socket.

[Android.Runtime.Register("sendUrgentData", "(I)V", "GetSendUrgentData_IHandler")]
public virtual void SendUrgentData (int data);
[<Android.Runtime.Register("sendUrgentData", "(I)V", "GetSendUrgentData_IHandler")>]
abstract member SendUrgentData : int -> unit
override this.SendUrgentData : int -> unit

Parameters

data
Int32

The byte of data to send

Attributes

Exceptions

if an error occurs while sending urgent data.

Remarks

Send one byte of urgent data on the socket. The byte to be sent is the lowest eight bits of the data parameter. The urgent byte is sent after any preceding writes to the socket OutputStream and before any future writes to the OutputStream.

Added in 1.4.

Java documentation for java.net.Socket.sendUrgentData(int).

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