I see a ReuseAddr and a ReusePort attribute that is acceptable to IO::Socket::INET->configure(), perhaps changing it to
my $sock = IO::Socket::INET->new( Listen => 5, Proto => 'tcp', Timeout => $ftp->timeout, LocalAddr => $ftp->sockhost ReusePort => 1 );
Will work? BTW, I would do this via a subclass on Net::FTP so you don't affect anything else using it.
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
In reply to Re: Net::FTP and Ports
by demerphq
in thread Net::FTP and Ports
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |