Having some network abstraction classes, single IP address class that deals both IPv4 and IPv6. So, nobody uses sockaddr, sockaddr_in, or plain int to represent IP address. +Change every IP address storage to that IP address class. + +The class itself is convertible to sockaddr_in or sockaddr_in6. However, byte-level compatibility may not be required. + +It is not decided whether to have host byte order or network byte order. sockaddr_in always have network byte order in it. + {section: Todo} Manageable daily work-list. @@ -65,7 +71,7 @@ 1:change every incidents where use sockaddr,sockaddr_in, and int. {section: Note} -*:internet.h seems to have a lot of IP-v6 incompatible functions. +*:internet.h seems to have a lot of IPv6 incompatible functions. *:why do you call <a.b.c.d:pppp> as sinful string? what does it mean 'sinful'? *:do we really need unified ip address class? IPv6 address space contains IPv4 and there is 1-to-1 mapping.