Interface Inet.SoJavaFactories

  • All Known Implementing Classes:
    TcpSO$, UdpSO$
    Enclosing class:

    public static interface Inet.SoJavaFactories
    • Method Detail

      • receiveBufferSize receiveBufferSize​(int size)
        Inet.SocketOption to set the SO_RCVBUF option

        For more information see Socket.setReceiveBufferSize(int)

      • reuseAddress reuseAddress​(boolean on)
        Inet.SocketOption to enable or disable SO_REUSEADDR

        For more information see Socket.setReuseAddress(boolean)

      • sendBufferSize sendBufferSize​(int size)
        Inet.SocketOption to set the SO_SNDBUF option.

        For more information see Socket.setSendBufferSize(int)

      • trafficClass trafficClass​(int tc)
        Inet.SocketOption to set the traffic class or type-of-service octet in the IP header for packets sent from this socket.

        For more information see Socket.setTrafficClass(int)