Class DefaultSocks4CommandResponse

    • Constructor Detail

      • DefaultSocks4CommandResponse

        public DefaultSocks4CommandResponse​(Socks4CommandStatus status)
        Creates a new instance.
        Parameters:
        status - the status of the response
      • DefaultSocks4CommandResponse

        public DefaultSocks4CommandResponse​(Socks4CommandStatus status,
                                            java.lang.String dstAddr,
                                            int dstPort)
        Creates a new instance.
        Parameters:
        status - the status of the response
        dstAddr - the DSTIP field of the response
        dstPort - the DSTPORT field of the response