HACKER Q&A
📣 ZevsVultAveHera

Do any books on OS Design cover TCP/IP stack implementations and algos


This topic seems to be cheerfully absent from most popular books on Operating Systems. Both from the USA and Europe (at least among English language publications). Is it because TCP/IP stacks are that trivial or they are that arcane and scary?

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?


  👤 i_don_t_know Accepted Answer ✓
Operating System Design Volume 2: Internetworking with XINU, 1987. ISBN 0-13-637414-X 025

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

https://www.cs.purdue.edu/homes/comer/osbooks.html


👤 checker659
Does an old book count? If yes, I believe "TCP/IP Illustrated, Volume 2" is about the implementation.

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.