Class Socks5ClientForInitiator


  • public class Socks5ClientForInitiator
    extends Socks5Client
    Implementation of a SOCKS5 client used on the initiators side. This is needed because connecting to the local SOCKS5 proxy differs form the regular way to connect to a SOCKS5 proxy. Additionally a remote SOCKS5 proxy has to be activated by the initiator before data can be transferred between the peers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.Socket getSocket​(int timeout)
      Returns the initialized socket that can be used to transfer data between peers via the SOCKS5 proxy.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait