http://qs321.pair.com?node_id=1180898


in reply to Re: IPV6 Errors with IO::Socket
in thread IPV6 Errors with IO::Socket

I have version 1.31. Line 226 is :
if ( $fam_listen != $family ) { next LOOP_LRES; }
$fam_listen is set from the original call for a socket but is apparently sporadically missing on my OS. I can shut up the errors if I add an if($fam_listen) ... but tht would be wrong.

Replies are listed 'Best First'.
Re^3: IPV6 Errors with IO::Socket
by noxxi (Pilgrim) on Feb 03, 2017 at 15:41 UTC
    If you really have version 1.31 then you are running a 15 year old version. In this case you should no longer wonder about problems but upgrade your system. But, a version of 1.31 never occurs in the ChangeLog of IO::Socket::INET6, i.e. it goes straight from 1.28 to 2.00. How did you determine the version of IO::Socket::INET6 (which is not the same as IO::Socket!)?
      Yeah my bad. 1.31 was my IO::Scocket::INET version. My IO::Socket::INET6 is at 2.56. Which apparently isn't the latest. I'll install 2.72 and see if that works better. Although Corion seems to have solved my issue with your advice by telling me how to force INET rather than INET6.