Class UdpSocketOptions

    • Method Detail

      • getReuseAddress

        public Boolean getReuseAddress()
        Returns whether address reuse is configured.
        Returns:
        the configured address reuse setting, or null to use the underlying socket default
      • getReceiveBufferSize

        public Integer getReceiveBufferSize()
        Returns the configured receive buffer size.
        Returns:
        the receive buffer size in bytes, or null to use the underlying socket default
      • getSendBufferSize

        public Integer getSendBufferSize()
        Returns the configured send buffer size.
        Returns:
        the send buffer size in bytes, or null to use the underlying socket default
      • getSoTimeout

        public Integer getSoTimeout()
        Returns the configured socket timeout.
        Returns:
        the socket timeout in milliseconds, or null to use the underlying socket default
      • getBroadcast

        public Boolean getBroadcast()
        Returns whether broadcast is configured.
        Returns:
        the configured broadcast setting, or null to use the underlying socket default
      • getTrafficClass

        public Integer getTrafficClass()
        Returns the configured IP traffic class.
        Returns:
        the IP traffic class, or null to use the underlying socket default