As a long-time writer of networking based user-land code, I find reading the implementation of the socket API to be extremely helpful. There used to be a few "annotated source code" books that were giant but interesting, tho the last I read was from 2.4 I think or maybe early 2.6. But the general understanding of how it works is useful for using the APIs.