Re:About A comprehensive guide for Linux Network (Socket) pr...
by nesarkvechnep on Sunday January 19, 2025 @04:01PM
(#42761769)
Thank 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.
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.p...
Another useful resource: https://beej.us/guide/bgnet/
Edit: beej seems already cited and beloved