| Find it useful? Make a donation! |
News: Guess what! Wow—you got it right on the first try! I've added IPv6 stuff to the guide! And removed old stuff! Woot! This is a large change, so I'm sure there are all kinds of exciting new errors and omissions for you to tell me about; please do! |
(Click here for other guides!)
Hello, one and all! This is my little how-to guide on network programming using Internet sockets, or "sockets programming", for those of you who prefer it. The sockets API, though started by the Berkeley folk, has been ported to many many platforms, including Unix, Linux, and even Windows.
Unfortunately, it can be a little, um, "much" to digest the API, but as long as you know some C or C++, this guide should springboard you into the realm of network programming with hopefully as little hassle as humanly possible!
PDF:
PostScript, gzipped:
The build system requires Python 2.4+, Gnu make, Xerces-J (for DTD verification—can be disabled), and Apache FOP (or the equivalent) if you want print output.