
On 2004-10-08, Simon Marlow
On 07 October 2004 21:43, John Goerzen wrote:
Network.Socket in GHC6 seems to be restricted to IPv4, despite the prsence of AF_INET6. How do I support IPv6 in Haskell?
You write some code to handle IPv6 and send it to us for inclusion in Network.Socket ;-)
OK, fair enough, let's go down that path for a moment :-) I probably could figure out how to do that based on the existing IPv4 code. Some small parts of IPv6 support are already there. However, I'd have two questions: 1. Wouldn't there need to be some sort of discussion first to ensure that all the compiler/interpreter implementors do it the same way? 2. I don't know anything about the autotools stuff save that it does not get along very well with me. If I submit a patch that assumes that IPv6 support is available, would somebody be able to add the appropriate tests and ifdefs around it to ensure that it really is? -- John