4 ms·
Actually is extremely simple. I learned by looking the original papers[0] As you say, just lots of bad examples online. The only thing that made me a little bi
by f1shy 2y ago
Actually is extremely simple. I learned by looking the original papers[0]
As you say, just lots of bad examples online. The only thing that made me a little bit crazy at the beginning, was the fact that TCP is a stream without delimiters, no packet concept. Other than that, is not more difficult than writing and reading a file.
[0] https://docs-archive.freebsd.org/44doc/psd/20.ipctut/paper.pdf https://docs-archive.freebsd.org/44doc/psd/20.ipctut/paper.p...
Another useful resource: https://beej.us/guide/bgnet/ https://beej.us/guide/bgnet/
Edit: beej seems already cited and beloved
- nesarkvechnep 2y agoThank you for referring to a BSD document. Most people have no idea that the modern reference network stack implementation comes from BSD and not Linux.