Hacker ApprovedDepartments

Beej's Guide to Network Programming

Beej's Guide to Network Programming by Brian Hall

by Brian Hall

Hacker Approved

Ranked 2 of 24 online tutorials by recommenders

A free, quick-read guide to socket and network programming that people credit with getting them into networking and systems work. Critics note it does not cover BGP.

A free, quick-read guide to socket and network programming that people credit with getting them into networking and systems work. Critics note it does not cover BGP.

17 people gave an opinion

recommend it
16
criticize it
1
approval share
94%
Each figure is one person. RecommendsCriticizes

Recommended in 7 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Owned for 23 years

Median of the 3 owners who said how long they have had it.

Each square is one year.

Why it carries the badge

  • 16 people recommend itNeeds 10 or more, met.
  • 16 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 7 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Gets you up to speed

    “it was invaluable. It gets you up to speed without overwhelming you with detail.”

    Comment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

    “He dives into code and actual network function so well for such a quick read.”

    Comment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”
  • Clear, practical code examples

    “you'd be better off following Beej's guide to socket programming instead of 100 g4g pages”

    Comment from 3 Feb 2026 on Hacker News

    “He dives into code and actual network function so well for such a quick read.”

    Comment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”
  • Helped careers and jobs

    “Because of it I got into networking, systems programming, my first job and all that followed.”

    Comment from 24 Oct 2026 in “Move Slow and Fix Things (2024)”

    “His guide to network programming was instrumental to both my understanding and career.”

    Comment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

    “By applying the knowledge gained in his networking guide, I've won many contracts”

    Comment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”
  • Still kept up to date

    “Beej has really done the world a solid, it's also making me happy that they're still around and being kept up to date”

    Comment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

    “Your networking guides have long been a great contribution to everybody”

    Comment from 17 Feb 2026 in “Show HN: Scanned 1927-1945 Daily USFS Work Diary”

What people warn about

Each mark is one comment

  • Does not cover BGP

    “probably not the best point to start. The article discuses BGP protocol, which is totally absent in the linked guide.”

    Comment from 8 Jan 2026 in “A closer look at a BGP anomaly in Venezuela”

Other online tutorials people recommend

The four most recommended other online tutorials, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Beej's Guide to Network Programming by Brian Hall compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
CSS-Tricks23388%4—Approved
Beej's Guide to Network Programmingby Brian HallThis page16194%723 yrs3 ownersApproved
Learn OpenGL15383%3——
Let's Build a Compilerby Jack Crenshaw12192%5—Approved
Patterns.dev12763%1——
See all 24 online tutorials, ranked

What people said

17 of the 18 comments that mention it, newest first. Each links to the original comment.

“Because of it I got into networking, systems programming, my first job and all that followed.”

RecommendsComment from 24 Oct 2026 in “Move Slow and Fix Things (2024)”

“I was consulting Beej's Guide to Network Programming daily”

RecommendsComment from 22 Jul 2026 in “Making”

“I loved your guide to network programming in undergrad”

RecommendsComment from 4 Jun 2026 in “Failing grades soar with AI usage, dwindling math skills in Berkeley CS classes”

“Your networking guides have long been a great contribution to everybody”

RecommendsComment from 17 Feb 2026 in “Show HN: Scanned 1927-1945 Daily USFS Work Diary”

“you'd be better off following Beej's guide to socket programming instead of 100 g4g pages”

RecommendsComment from 3 Feb 2026 on Hacker News

“Most underlying technology is timeless”

RecommendsComment from 23 Jan 2026 in “The cleaner: One woman's mission to help Britain's hoarders”

“probably not the best point to start. The article discuses BGP protocol, which is totally absent in the linked guide.”

CriticizesComment from 8 Jan 2026 in “A closer look at a BGP anomaly in Venezuela”

“thanks again for the networking guide”

RecommendsComment from 27 Dec 2025 in “Publishing your work increases your luck”

“A++ human being who's contributed so much to our field.”

RecommendsComment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

“He dives into code and actual network function so well for such a quick read.”

RecommendsComment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

“By applying the knowledge gained in his networking guide, I've won many contracts”

RecommendsComment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

“Beej has really done the world a solid, it's also making me happy that they're still around and being kept up to date”

RecommendsComment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

“it was fantastic, I learnt a lot, and it was easy enough that I was able to do it in Rust”

RecommendsComment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

“His guide to network programming was instrumental to both my understanding and career.”

RecommendsComment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

“it was invaluable. It gets you up to speed without overwhelming you with detail.”

RecommendsComment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

“Beej's guide to network programming is an all-time classic”

RecommendsComment from 2 Dec 2025 in “Beej's Guide to Learning Computer Science”

“Beej's guide to network programming was invaluable.”

RecommendsComment from 30 Nov 2025 in “Beej's Guide to Learning Computer Science”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.