public Socks5(String host,int port,Credentials credentials) throws UnknownHostException {
  init();
  this.inetAddress=InetAddress.getByName(host);
  this.port=port;
  this.credentials=credentials;
}

public Socks5 ( String host , int port , Credentials credentials ) throws UnknownHostException { init ( ) ; this . inetAddress = InetAddress . getByName ( host ) ; this . port = port ; this . credentials = credentials ; }
constructs a socks instance .
