#1798: IPv6 support for Parrot
-------------------------+--------------------------------------------------
Reporter: mstapelberg | Type: patch
Status: new | Priority: normal
Milestone: | Component: core
Version: 2.8.0 | Severity: medium
Keywords: ipv6 | Lang:
Patch: | Platform: unix
-------------------------+--------------------------------------------------
Extract from the commit message:
{{{
connect() and bind() use an Addrinfo PMC (contains multiple socket
addresses in the right order [RFC 3484]) instead of a Sockaddr PMC.
It is no longer necessary to create the socket before calling bind()
or connect() as both need to create sockets with the appropriate
address family on their own.
Also, the Sockaddr PMC internally uses a struct sockaddr_storage
in combination with a length field instead of an struct sockaddr_in.
This commit also implements the local_address and remote_address
methods for the Socket PMC. The Sockaddr PMC can now be converted
to string.
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1798>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets