Subject: | compatibility of IO::Socket::IP->connected and IO::Socket::INET->connected |
IO::Socket::IP->connected returns a result in boolean manner,
but IO::Socket::INET->connected returns getpeername.
See https://st.aticpan.org/source/XSAWYERX/perl-5.26.0/dist/IO/lib/IO/Socket.pm
There is no IO::Socket::IP->connected documentation. So someone can't figure out the purpose of incompatibility with IO::Socket implementation.
Best regards,
Alexei