New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errno error in IO::Socket::INET #4052
Comments
From dfaraldo@nocpulse.com[Note: We were using the RedHat Perl distribution (perl-5.00503-10) IO::Socket v1.25 doesn't return an error message under certain #!/usr/bin/perl my $addr = "192.168.2.2"; # or any non-reachable address use IO::Socket; my $sock = IO::Socket::INET->new(PeerAddr=>$addr, print "Connect failed: $@\n" unless ($sock); produces: Connect failed: IO::Socket::INET: Digging into the code (IO::Socket::INET line 169), I see: return _error( (i.e. set I changed the line to return _error( , which seems to work. Perl Info
|
From @schwern
I am unable to reproduce this problem with 5.4.5, 5.5.3, 5.6.2 or 5.8.6 Anyone care to confirm? |
p5p@spam.wizbit.be - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#7067 (status was 'resolved')
Searchable as RT7067$
The text was updated successfully, but these errors were encountered: