Subject: | problem with ipv6/v4 autodetection on win32 but cannot set preferred protocol |
Date: | Thu, 23 Oct 2014 12:13:55 +1000 |
To: | bug-Net-SMTPS [...] rt.cpan.org |
From: | Alexander Zangerl <alexz [...] opmantek.com> |
we're using net::smtps fairly happily on linux systems, but have run
into trouble on win32:
as far as our debugging shows, if io::socket::inet6 is installed and if
we don't specify that it should create an AF_INET socket
it defaults to ipv6, regardless of whether the box in question is
ipv6-connected or not.
unfortunately, net::smtps doesn't let you pass in a desired network
domain, which is a bit of a show stopper for us on win32.
the attached patch extents net::smtps marginally and adds an argument
"Domain" that is passed through to io::socket::inet*'s
constructor if present. it would be great if you added that (or similar)
functionality to your next release of net::smtps.
regards,
az
--
Alexander Zangerl
email: alexz@opmantek.com
skype: alex.zangerl
mobile: +61 415 482 341
web: https://community.opmantek.com/
Message body is not shown because sender requested not to inline it.