in reply to Find all webservers on local domain

It works well, where did you get that "RDFmilla/0.1"? how about Apache Web server? BTW, I set timeout to 1 sec, the default of 3 min is too much for me. $agent->timeout(1);

Replies are listed 'Best First'.
Re: Re: Find all webservers on local domain
by rdfield (Priest) on Mar 28, 2002 at 10:34 UTC
    where did you get that "RDFmilla/0.1"?
    1. In the best traditions of Perl, I made it up
    how about Apache Web server?
    1. Anything that supplies a valid response to a GET request on Port 80 will be considered a success
    I set timeout to 1 sec
    1. So you've never come across an (potentially poorly configured) index page that talks to a database? Or an Application Server? Defaults are there for a reason.

    Thanks for your comments, I know it could be much better, but it works well enough for what I want and I was happy to share it with the community. That is not an admission of support though :)

    rdfield

      thanks for your reply! I didn't use LWP::UserAgent before and thought "RDFmilla/0.1" was something specific to IIS from your description. You are right on default timeout, I only want to test your script and don't have enough patient :), thought it stalled after a long silence...