Graham Powell wrote: > That's very similar to what I had just come up with, and > unfortunately we now have the next strange problem. > > This returns a message from whatismyip.com saying that I have been > banned for 5 minutes for hitting the site too often. If I instantly > revert back to the Indy component, it works. > > Is there something else I should set to prevent this response?
They obviously try to detect whether the request comes from a browser or a script, try to set the headers like Firefox and see what happens or maybe you have to handle cookies as well? Much better is to use your own webpage that returns the IP, it's rock science, in PHP it looks like: <?php echo $_SERVER[REMOTE_ADDR]; ?> -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be