Subject: | If socket in use, SSH fails on AIX |
If "bind" is called using Perl on AIX and the port is already in use, the error message returned is unexpected. We get something like this:
# perl sock.pl
bind: The socket name is already in use. at sock.pl line 27.
#
In Perl.pm, the error string "Address already in use" is expected (line 235, Perl.pm). This should change to something else. The error string above is "The socket name is already in use." This is reported by Perl or the OS or something. Perl.pm should be edited to handle this case.