The document discusses programming with IPv6 by providing examples of echo clients and servers for both IPv4 and IPv6. It outlines refining applications to support both protocols, including handling DNS conversions and special cases for IPv4-only or IPv6-only environments. Key functions mentioned are gethostbyname, gethostbyaddr, gethostbyname2, and sockets calls for IPv4 and IPv6. The hostent and addrinfo structures are also covered.