Wed Apr 4 15:20:36 PDT 2007 Bryan O'Sullivan <[EMAIL PROTECTED]>
* Add IPv6 support to Network.Socket.
The only public API changes are to Network.Socket, which has the following
exported names added (no existing names have been removed):
-- IPv6 address components
HostAddress6
FlowInfo
ScopeID
-- Name -> address lookup
getAddrInfo
AddrInfo
AddrInfoFlag
defaultHints
-- Address -> name lookup
getNameInfo
NameInfoFlag
The SockAddr type acquires a new branch, SockAddr6. (This could cause
new "non-exhaustive matches" warnings when compiling pre-existing client
code that pattern-matches on SockAddr values. However, it will not
cause runtime pattern failure errors in clients using the pre-existing
IPv4 entry points, as they will never see IPv6 addresses.)
This change moves a few type names from Network.BSD to Network.Socket:
HostName
ServiceName
These names are still re-exported from Network.BSD, so pre-existing code
should not be affected.
M ./Network/BSD.hsc -6
M ./Network/Socket.hsc -8 +460
M ./configure.ac +8
M ./include/HsNet.h +6
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries