in reply to Net::FTP and Ports
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::FTP and Ports
by Anonymous Monk on Feb 06, 2004 at 12:04 UTC | |
by demerphq (Chancellor) on Feb 06, 2004 at 12:16 UTC |