Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^5: IPV6 Errors with IO::Socket

by Corion (Patriarch)
on Feb 03, 2017 at 07:17 UTC ( #1180926=note: print w/replies, xml ) Need Help??

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

Looking at the documentation of IO::Socket::SSL, it says

Alternatively you can enforce IPv4 globally by loading IO::Socket::SSL with the option 'inet4', in which case it will use the IPv4 only class IO::Socket::INET as the super class.

So, maybe the following works:

#!perl -w use strict; use IO::Socket::SSL 'inet4'; use XML::Feed;

(I only knew to look there from having seen a presentation by noxxi on this topic)

Replies are listed 'Best First'.
Re^6: IPV6 Errors with IO::Socket
by jZed (Prior) on Feb 03, 2017 at 17:30 UTC
    Sweet! Seven runs with no errs so far. I think that is exactly what I needed.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1180926]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2023-02-03 13:27 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (26 votes). Check out past polls.