Subject: | Prototype mismatch error due to AF_INET6 redefinition |
POE::Wheel::SocketFactory defines AF_INET6 which appears to cause a
"Prototype mismatch" error if the Socket6 module is later require'd or
use'd. This occurs on my system when using POE::Component::Client::DNS
with IPv6 nameservers. DNS resolution fails unless I add a 'use
Socket6;' before including modules that use POE::Wheel::SocketFactory.
Perhaps using an eval() with require() could be used as in
Net::DNS::Nameserver?