Closed np closed 8 years ago
Thanks @np, could you comment / act on my last remark and pass back to me? If you don't want to change your error handling I guess we can argue that the init*
function I mentioned earlier should rule out both errors at start time.
(I just found #464 with the old comments. Sorry for the noise!)
I would wait for this init*
function, in particular if we can't trigger these "impossible" cases.
Makes sense now. Sorry for being so slow. :-)
inet_addr
, usegetAddrInfo
which supports IPv6Network.HostAddr
including:HostAddr
a type wrapping the different kind of addressesgetHostAddr
a wrapper overgetAddrInfo
returning aHostAddr
hostAddr
extractHostAddr
from aSockAddr