Jump to ratings and reviews
Rate this book

Beej's Guide to Network Programming

Rate this book
Beej's Guide to Network Programming has been one of the top socket programming guides on the Internet for the last 15 years, and it's now for the first time available as a lovingly bound paperback book! The Guide is designed to irreverently ease your first steps into Internet Sockets programming in C. Starting from the ground up, it provides complete examples of simple clients and servers supporting both IPv6 and IPv4.

Once you get through the tutorial section of the book, Part Two contains a handy-dandy reference section which helps prevent the book from becoming simple dead weight on your shelf once you've devoured it.

The book focuses on the C programming language in Unix-like environments, but Windows users can still glean relevant information from its pages. Also, once you understand socket programming in C, you'll much more easily understand it in many other languages as well.

142 pages, Paperback

First published October 20, 2011

6 people are currently reading
88 people want to read

About the author

Brian Hall

122 books23 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
35 (56%)
4 stars
20 (32%)
3 stars
6 (9%)
2 stars
1 (1%)
1 star
0 (0%)
Displaying 1 - 10 of 10 reviews
Profile Image for Xinyu.
193 reviews31 followers
Read
September 14, 2020
While I was struggling with project 1, I blamed myself not to read it during the summer. But truth be told, even if I had read it, I would still not proceed well with project. I guess this is kind of stuff that I can only learn by doing :)

Wrote this right after I finally finished the coding part of project 1. Huge relief! I thought I was never going to make it work.
Profile Image for Farsan Rashid.
36 reviews17 followers
July 10, 2018
Fantastic book to learn socket programming from scratch.
Profile Image for Eric.
16 reviews2 followers
September 3, 2013
This is a short book but it is a great one for learning the basics of Socket Programming. After reading this book, I feel pretty confident in writing a basic network program. I really loved Brian Hall's humor within the book and it kept the book entertaining which kept reading to the end while learning a bit.
Profile Image for Adolfo.
14 reviews4 followers
March 30, 2013
Short, fun, and to the point. While not the most complete introduction to network programming available, it's probably one of the more accesible ones, and definitely the cheaper. A must read if you want to learn the basics of the BSD socket API.
Profile Image for Geoffrey.
61 reviews1 follower
October 8, 2023
Great introduction to reading about Computer Networks and how different aspects of the network fit together. Brian uses metaphors straight out of left field which do work, but also leave you saying "what??"

There are also some good coding examples that are useful to follow that write yourself, but be warned they are written in C/C++.

Overall, a great introduction to network programming. If you're looking to get used to LAN network programming, this is great. If not, I'm trying to get an introduction to WAN network programming too and if you find a good source on that, please let me know too.
Profile Image for Patrick Coakley.
48 reviews10 followers
February 14, 2020
I used Beej's Guide To Network Programming in a graduate operating systems course to pick up socket programming for some of the course content. While it's a short-ish book, it's one that you can refer back to quite a bit when you're first trying to understand how sockets work and how to get up and running, and so I highly recommending grabbing this book for free and using it as one of the primary resources, in addition to a strong technical reference like W. Richard Stevens Unix Network Programming.
183 reviews2 followers
May 4, 2021
A classic for good reason. This book is written such that it is equally enjoyable and informative. The best guide I've read to understanding and using sockets for network programming. An excellent reference.
Profile Image for Ara.
156 reviews27 followers
September 3, 2018
Gran introducción a la programación en redes. Además lo explica con humor, un genio este tipo.
9 reviews
August 29, 2013
good long artical about socket programming, covers network stuffes easily
Displaying 1 - 10 of 10 reviews

Can't find what you're looking for?

Get help and learn more about the design.