ConnectionTimeout after reconnect, caching?

Johann Höchtl <[email protected]>
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
Hello community,
I am writing a website parser with htmlparser and I think it's a great 
library.
My problem is, the website I'm parsing shows me a captcha after a 
certain number of crawls.
As a workaround I wrote a redial routine to reconnect my router and get 
a new ip.
That is working quite well, but my problem is, that my jvm seems to 
cache DNS.
I read this post http://forum.vis.ethz.ch/showthread.php?t=13457 and 
applied everything which is supposed there,
but still I can't continue parsing after a reconnect and I get a 
ConnectionTimeoutException from htmlparser.
It seems, that there might still be some kind of cache.
Could anybody tell me, how I can get the new instance of Parser to 
connect after a reconnect.

Thank you.
Hans.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.