01. ๋์
01. ๋์ ๊ด๋ จ
Hey! Socket programming got you down? Is this stuff just a little too difficult to figure out from the man pages? You want to do cool Internet programming, but you donโt have time to wade through a gob of struct
s trying to figure out if you have to call bind()
before you connect()
, etc., etc.
Well, guess what! Iโve already done this nasty business, and Iโm dying to share the information with everyone! Youโve come to the right place. This document should give the average competent C programmer the edge s/he needs to get a grip on this networking noise.
And check it out: Iโve finally caught up with the future (just in the nick of time, too!) and have updated the Guide for IPv6! Enjoy!
Audience
This document has been written as a tutorial, not a complete reference. It is probably at its best when read by individuals who are just starting out with socket programming and are looking for a foothold. It is certainly not the complete and total guide to sockets programming, by any means.
Hopefully, though, itโll be just enough for those man pages to start making senseโฆ
Platform and Compiler
The code contained within this document was compiled on a Linux PC using Gnuโs gcc
compiler. It should, however, build on just about any platform that uses gcc
. Naturally, this doesnโt apply if youโre programming for Windowsโsee the section on Windows programming, below.
Official Homepage and Books For Sale
This official location of this document is:
There you will also find example code and translations of the guide into various languages.
To buy nicely bound print copies (some call them โbooksโ), visit:
Iโll appreciate the purchase because it helps sustain my document-writing lifestyle!
Note for Solaris/SunOS Programmers
Note for Windows Programmers
Email Policy
Mirroring
Note for Translators
Copyright, Distribution, and Legal
Dedication
Publishing Information
This book is written in Markdown using the vim editor on an Arch Linux box loaded with GNU tools. The cover โartโ and diagrams are produced with Inkscape. The Markdown is converted to HTML and LaTex/PDF by Python, Pandoc and XeLaTeX, using Liberation fonts. The toolchain is composed of 100% Free and Open Source Software.