Re: [perl #75630] IO::Socket does not provide the IPV6_V6ONLY constant

[email protected] (Paul LeoNerd Evans)
Newsgroups perl.perl5.porters
Message-ID <[email protected]>
On Wed, Jun 09, 2010 at 05:47:24AM -0700, [email protected] wrote:
> When opening an IPv6 socket, one wants to ensure that the IPV6_V6ONLY
> socket option is set to 1 to prevent the socket from listening on
> IPv4 too and using mapped addresses (regardless of the system default
> value in /proc/sys/net/ipv6/bindv6only).
> 
> Unfortunately, IO::Socket does not provide this constant. Please add
> it.

I'm not sure whether Socket would be the best place to store this one.
Perhaps Socket6 or IO::Socket::INET6 would be more appropriate?

-- 
Paul "LeoNerd" Evans

[email protected]
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFMEJ93vLS2TC8cBo0RAqHrAKCMLvNPkqOIw89TAbfWSEjNNQAPEQCgmZjI
H2foptstEyEiaWtANpc1Fx4=
=b0+z
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.