java.lang.Object
net.i2p.socks.SOCKS5Constants.AddressType
Enclosing class:
SOCKS5Constants

public static class SOCKS5Constants.AddressTypeextends Object
SOCKS5 address types.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    A one-byte length and that many bytes of domain name follow.
    static final int
    A four-byte IPv4 address follows.
    static final int
    A sixteen-byte IPv6 address follows.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Names the constant list itself; it holds no per-instance state.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • IPV4

      public static final int IPV4
      A four-byte IPv4 address follows.
      See Also:
    • DOMAINNAME

      public static final int DOMAINNAME
      A one-byte length and that many bytes of domain name follow.
      See Also:
    • IPV6

      public static final int IPV6
      A sixteen-byte IPv6 address follows.
      See Also:
  • Constructor Details

    • AddressType

      public AddressType()
      Names the constant list itself; it holds no per-instance state.