Just use getaddrinfo and don’t make assumptions about what names/addresses look like.
Really, it’s CS so the ideas around building correct systems over a network are much more interesting than how to use a particular version of the sockets API (which just requires reading documentation.) Attitudes like that are how you end up only having electives like “how to build an app in framework x.” The whole point of the CS degree is to teach you to read/write documentation so by definition classes that read it for you are a waste of money and time and are the most frustrating.
But this course _does_ actually look at IP headers, checksumming, fragmentation, CIDR, discovery protocols and whatnot. Those are also important to understand in the context of IPv6.
Really, it’s CS so the ideas around building correct systems over a network are much more interesting than how to use a particular version of the sockets API (which just requires reading documentation.) Attitudes like that are how you end up only having electives like “how to build an app in framework x.” The whole point of the CS degree is to teach you to read/write documentation so by definition classes that read it for you are a waste of money and time and are the most frustrating.