Addressing of AF_INET, AF_INET6 and AF_UNIX sockets
https://idea.popcount.org/2019-12-06-addressing/ [idea.popcount.org]
2019-12-02 06:05
A freshly created socket isn’t very useful. We have to tell it to either listen for incoming data, or connect to a remote peer. To achieve anything useful we need to perform a syscall dance, which involves either bind() or connect() or both.
And some notes about the DNS resolver rabbit hole.
source: L