Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Get the IP Address

by esh (Pilgrim)
on Aug 29, 2003 at 06:53 UTC ( [id://287599]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Get the IP Address
in thread Get the IP Address

Here's the order I would try. You may like them in a different order or have better ideas.

  1. See if you can find a way to force LWP to pass a specific "Host:" header even though you are telling it what specific IP address to access in the URL.
  2. See if you can subclass something in LWP to be able to do your own DNS lookup, or to get access to the IP address resolved even when the request fails.
  3. Contact the LWP author(s) and see if they have suggestions or can modify the interface to support what you need.
  4. Write your own HTTP client, provided your needs are simple.
  5. Copy and edit the guts of LWP classes.

-- Eric Hammond

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://287599]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-24 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found