Java.Net.SocketOptions Members

The members of Java.Net.SocketOptions are listed below.

See Also: Inherited members from System.Object

Public Fields

const
IpMulticastIfSocketOption (16). This is an IPv4-only socket option whose functionality is subsumed by SocketOptions.IpMulticastIf2 and not implemented on Android.
const
IpMulticastIf2SocketOption (31). This integer option sets the outgoing interface for multicast packets using an interface index.
const
IpMulticastLoopSocketOption (18). This boolean option specifies whether the local loopback of multicast packets is enabled or disabled.
const
IpTosSocketOption (3). This integer option specifies the value for the type-of-service field of the IPv4 header, or the traffic class field of the IPv6 header.
const
SoBindaddrSocketOption (15). This option does not correspond to any Unix socket option and is not implemented on Android.
const
SoBroadcastSocketOption (32). This boolean option can be used to enable or disable broadcasting on datagram sockets.
const
SoKeepaliveSocketOption (8). This boolean option specifies whether the kernel sends keepalive messages on connection-oriented sockets.
const
SoLingerSocketOption (128). Number of seconds to wait when closing a socket if there is still some buffered data to be sent.
const
SoOobinlineSocketOption (4099). This boolean option specifies whether sending TCP urgent data is supported on this socket or not.
const
SoRcvbufSocketOption (4098). The size in bytes of a socket's receive buffer.
const
SoReuseaddrSocketOption (4). This boolean option specifies whether a reuse of a local address is allowed when another socket has not yet been removed by the operating system.
const
SoSndbufSocketOption (4097). The size in bytes of a socket's send buffer.
const
SoTimeoutSocketOption (4102). Integer timeout in milliseconds for blocking accept or read/receive operations (but not write/send operations).
const
TcpNodelaySocketOption (1). This boolean option specifies whether data is sent immediately on this socket or buffered.