I cannot even recall hearing mentions of any book covering that field in all may years of doing IT stuff and reading CS literature. If no typical Operating System design books cover them are they covered in any other kind of publications?
Shows how to add IP/UDP to a simple Unix-like OS. You might want to also read volume 1:
Operating System Design - The XINU Approach, Second Edition, 2015. ISBN 9781498712439
Unless you're looking for kernel level implementation, you could take a look at userspace implementations. Google for "DPDK tcp ip" or something to that effect.