by beejjorgensen

beejjorgensen / bgnet

Beej's Guide to Network Programming source

249 Stars 54 Forks Last release: Not found 93 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Beej's Guide to Network Programming

This is the source for Beej's Guide to Network Programming.

If you merely wish to read the guide, please visit the Beej's Guide to Network Programming website.

This is here so that Beej has everything in a repo and so translators can easily clone it.

Build Instructions


Mac dependencies install (reopen terminal after doing this):

xcode-select --install                  # installs make
brew install python                     # installs Python3
brew install pandoc
brew cask install mactex                # installs XeLaTeX
brew tap homebrew/cask-fonts
brew cask install font-liberation-sans  # installs sans, serif, and mono


  1. Type
    from the top-level directory.

If you have Gnu Make, it should work fine. Other makes might work as well. Windows users might want to check out Cygwin.

  1. Type

    make stage
    to copy all the build products and website to the
  2. There is no step three.

You can also

to the
directory and

make clean
cleans, and
make pristine
cleans to "original" state.

To embed your own fonts in the PDFs, see the

for examples.


target in the root
demonstrates the build steps for a complete release. You'll need to change the
macro in the top-level
to point to your host if you want to use that. You're free to upload whatever versions you desire individually, as well.

Pull Requests

Please keep these on the scale of typo and bug fixes. That way I don't have to consider any copyright issues when merging changes.



  • File transfer example maybe in son of data encapsulation
  • Multicast?
  • Event IO?

Bug fixes

  • When pandoc 2.8 comes up, switch all man page subheaders to h3 and supress them from the table of contents.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.