Share via


SocketImpl.InterfaceConsts Class

Definition

public static class SocketImpl.InterfaceConsts
type SocketImpl.InterfaceConsts = class
Inheritance
SocketImpl.InterfaceConsts

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.

Fields

IpMulticastIf
Obsolete.

Set which outgoing interface on which to send multicast packets.

IpMulticastIf2
Obsolete.

Same as above.

IpMulticastLoop
Obsolete.

This option enables or disables local loopback of multicast datagrams.

IpTos
Obsolete.

This option sets the type-of-service or traffic class field in the IP header for a TCP or UDP socket.

SoBindaddr
Obsolete.

Fetch the local address binding of a socket (this option cannot be "set" only "gotten", since sockets are bound at creation time, and so the locally bound address cannot be changed).

SoBroadcast
Obsolete.

Sets SO_BROADCAST for a socket.

SoKeepalive
Obsolete.

When the keepalive option is set for a TCP socket and no data has been exchanged across the socket in either direction for 2 hours (NOTE: the actual value is implementation dependent), TCP automatically sends a keepalive probe to the peer.

SoLinger
Obsolete.

Specify a linger-on-close timeout.

SoOobinline
Obsolete.

When the OOBINLINE option is set, any TCP urgent data received on the socket will be received through the socket input stream.

SoRcvbuf
Obsolete.

Set a hint the size of the underlying buffers used by the platform for incoming network I/O.

SoReuseaddr
Obsolete.

Sets SO_REUSEADDR for a socket.

SoReuseport
Obsolete.

Sets SO_REUSEPORT for a socket.

SoSndbuf
Obsolete.

Set a hint the size of the underlying buffers used by the platform for outgoing network I/O.

SoTimeout
Obsolete.

Set a timeout on blocking Socket operations:

TcpNodelay
Obsolete.

Disable Nagle's algorithm for this connection.

Applies to