Ticket #1798 (closed patch: fixed)
IPv6 support for Parrot
Reported by: | mstapelberg | Owned by: | dukeleto |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | 2.8.0 |
Severity: | medium | Keywords: | ipv6 |
Cc: | Language: | ||
Patch status: | applied | Platform: | unix |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.