All Known Implementing Classes:
DatagramSocketImpl, SocketImpl

  • Field Summary

    Fields

    static final int

    static final int

    This option is used to both set and fetch the outgoing interface on which the multicast packets are sent.

    static final int

    static final int

    static final int

    Fetch the local address binding of a socket.

    static final int

    static final int

    static final int

    static final int

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

    static final int

    static final int

    static final int

    static final int

    static final int

    static final int

  • Method Summary

    getOption(int optID)

    Fetch the value of an option.

    void

    Enable/disable the option specified by optID.

  • Field Details

    • TCP_NODELAY

    • SO_BINDADDR

    • SO_REUSEADDR

    • SO_REUSEPORT

    • SO_BROADCAST

    • IP_MULTICAST_IF

    • IP_MULTICAST_IF2

    • IP_MULTICAST_LOOP

    • IP_TOS

    • SO_LINGER

    • SO_TIMEOUT

    • SO_SNDBUF

    • SO_RCVBUF

    • SO_KEEPALIVE

    • SO_OOBINLINE

  • Method Details

    • setOption

    • getOption