Interface DnsOptCookieRecord

    • Field Detail

      • CLIENT_COOKIE_LENGTH

        static final int CLIENT_COOKIE_LENGTH
        The length of a client cookie in bytes.
        See Also:
        Constant Field Values
      • OPTION_CODE

        static final int OPTION_CODE
        The OPTION-CODE that is assigned to COOKIE.
        See Also:
        Constant Field Values
    • Method Detail

      • clientCookie

        byte[] clientCookie()
        Returns the client cookie, which is always CLIENT_COOKIE_LENGTH bytes long. The returned array is a copy.