in reply to Re: IO::Socket::INET's sockaddr() returns 16 byte instead of 4, Socket::inet_ntoa() complains
in thread IO::Socket::INET's sockaddr() returns 16 byte instead of 4, Socket::inet_ntoa() complains
Hm, that's very verbose.
What I'm not getting is: IO::Socket::INET's doc says, "IO::Socket::INET provides an object interface to creating and using sockets in the AF_INET domain" but why is it still receiving AF_INET6 stuff?
There's also IO::Socket::INET6 maintained by Shlomi Fish.
So where should be the appropriate fix/patch placed? In HTTP::Daemon (e.g. creating a separate HTTP::Daemon6)? In IO::Socket::INET (always converts things to IPv4, so sockaddr() never returns 16 bytes)? In still-lower library? This IPv4/IPv6 dichotomy is quite confusing to me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: IO::Socket::INET's sockaddr() returns 16 byte instead of 4, Socket::inet_ntoa() complains
by Anonymous Monk on Feb 28, 2012 at 15:26 UTC | |
by sedusedan (Pilgrim) on Mar 06, 2012 at 02:08 UTC |