Writing Portable Network Code

Originally, this was intended to be a two part series about get(addr|name)info() functions which I learnt thanks to Gé Weijers‘ review of my patches to bring IPv6 support to Fossil I submitted months ago. After spending sometime on draft of this post, I decided two part series is way too much for this, and it could just be fit in a single article. And now today, I decided I could just mention the name of functions getaddrinfo(), getnameinfo(), and a link to the thread, and let curious reader figure out what this is about. 🙁