I'm not a programmer anymore and never looked into modern languages like
Perl or Python.
A shame really.
I can't implement it, but behind the else, the code should look for
stmpDestinationRT and if it exists only bind to the interfaces that are
listed there.
A piece of cake for an experienced programmer.
Someone else wants to contribute the code?
if($interface) {
$s = new IO::Socket::INET(Listen => 10, LocalPort => $p, Reuse=>1,
LocalAddr => $interface);
} else {
if($smtpDestinationRT) {
# some loop parsing smtpDestinationRT
$s = new IO::Socket::INET(Listen => 10, LocalPort => $port,
Reuse=>1, LocalAddr => $interface);
} else {
$s = new IO::Socket::INET(Listen => 10, LocalPort => $port,
Reuse=>1);
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test