Compartir a través de


Socket.OOBInline Property

Definition

Tests if SocketOptions#SO_OOBINLINE SO_OOBINLINE is enabled. -or- Enable/disable SocketOptions#SO_OOBINLINE SO_OOBINLINE (receipt of TCP urgent data)

        By default, this option is disabled and TCP urgent data received on a
        socket is silently discarded.
public virtual bool OOBInline { [Android.Runtime.Register("getOOBInline", "()Z", "GetGetOOBInlineHandler")] get; [Android.Runtime.Register("setOOBInline", "(Z)V", "GetSetOOBInline_ZHandler")] set; }
[<get: Android.Runtime.Register("getOOBInline", "()Z", "GetGetOOBInlineHandler")>]
[<set: Android.Runtime.Register("setOOBInline", "(Z)V", "GetSetOOBInline_ZHandler")>]
member this.OOBInline : bool with get, set

Property Value

a boolean indicating whether or not SocketOptions#SO_OOBINLINE SO_OOBINLINEis enabled.

Attributes

Exceptions

Remarks

Property getter documentation:

Tests if SocketOptions#SO_OOBINLINE SO_OOBINLINE is enabled.

Added in 1.4.

Java documentation for java.net.Socket.getOOBInline().

Property setter documentation:

Enable/disable SocketOptions#SO_OOBINLINE SO_OOBINLINE (receipt of TCP urgent data)

By default, this option is disabled and TCP urgent data received on a socket is silently discarded. If the user wishes to receive urgent data, then this option must be enabled. When enabled, urgent data is received inline with normal data.

Note, only limited support is provided for handling incoming urgent data. In particular, no notification of incoming urgent data is provided and there is no capability to distinguish between normal data and urgent data unless provided by a higher level protocol.

Added in 1.4.

Java documentation for java.net.Socket.setOOBInline(boolean).

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