As a beginner rookie, many people learn the network programming is often an FTP client program. I also have a few days of exploration, I finally succeeded. Share it with you.
My way is not all written, but uses others's things, (a lot of things online is really good, http://www.koders.com/, a good place, often take a look). I started to use W3C The W3C-Libwww library, later looking for GNU's inetuses. But it is getting dizzy (really embarrassed, a little dish), the content is too much. Finally, I finally found a QUFTP suitable for beginners. It is really good. Very simple, everyone is very simple in the above components, and it is convenient to learn.