There's a variable

@LWP::Protocol::http::EXTRA_SOCK_OPTS

that gets passed to IO::Socket::INET::new

In theory, setting it to (LocalAddr => "myipaddress")
should do the trick.

I haven't tried it though.

-----Original Message-----
From: David Busby [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 30, 2003 6:10 PM
To: [EMAIL PROTECTED]
Subject: Bind to specific IP

List,
    How can I make LWP::UserAgent bind to a specific IP address?  I cannot
find in archives or with google.

David Busby
Systems Engineer
[EMAIL PROTECTED]

Reply via email to