Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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.

    --k.


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://432485]
help
Chatterbox?
and the fire pops...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-12-18 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (468 votes). Check out past polls.

    Notices?