private int socksGetServerPort(){
  InetSocketAddress addr=(InetSocketAddress)proxy.address();
  return addr.getPort();
}

private int socksGetServerPort ( ) { InetSocketAddress addr = ( InetSocketAddress ) proxy . address ( ) ; return addr . getPort ( ) ; }
gets the socks proxy server port .
