Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Telling LWP which source IP to use

by Kanji (Parson)
on Feb 18, 2005 at 19:30 UTC ( #432485=note: print w/ replies, xml ) Need Help??

in reply to Telling LWP which source IP to use

It's not documented in the POD, but...

@LWP::Protocol::http::EXTRA_SOCK_OPTS = (LocalAddr => $ip_to_use);

However, I don't recall if it works for all protocols that LWP supports, and may be something that is deprecated in future releases.


Comment on Re: Telling LWP which source IP to use
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2015-07-08 00:16 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (93 votes), past polls