Subject: | Constructor lacking Type or Protocol doesn't work on non-Linux |
Synopsis doesn't set "Type" or "Protocol" hints.
Standard IO::Socket::INET API doesn't either.
This fails on non-Linux, because most resolvers want this hint, or else
they'll return all possible combinations, confusing the ->setup method.
Implying a default like Protocol => 'tcp' might be a solution, but
would break those protocols that are only UDP according to /etc/services.
Needs further thought, anyway.
--
Paul Evans