You can tell LWP::Protocol that you want My::Https to be the class that implements the https protocol then write a My::Https class that mostly just inherits from LWP::Protocol::https but also provides an overridden _new_socket() method that calls SUPER::_new_socket(), records the local port number of the returned socket, then returns the socket.
- tye
In reply to Re: LWP: How to find out local port number? (ISA)
by tye
in thread LWP: How to find out local port number?
by klaymen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |