Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > C Networking Book?

C Networking Book?
Thread Tools
itistoday
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Jun 12, 2005, 02:47 PM
 
I'm looking for a good, comprehensive C networking book that will teach me the fundamentals of all things TCP/IP related and perhaps more. I'd like to learn how to do low-level network programming (coming from a humble java networking background).

Any recommendations?
     
parsec
Forum Regular
Join Date: Mar 2001
Location: canada
Status: Offline
Reply With Quote
Jun 13, 2005, 01:11 PM
 
Try Beej's Guide to Network Programming
http://www.ecst.csuchico.edu/~beej/guide/net/

It's pretty well written, and how I learned. And best of all, freely available on the net.
     
parallax
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Jun 13, 2005, 01:30 PM
 
I was going to recommend Beej's guide too (that's how I learned as well).
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
itistoday  (op)
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Jun 13, 2005, 01:55 PM
 
Originally Posted by parsec
Try Beej's Guide to Network Programming
http://www.ecst.csuchico.edu/~beej/guide/net/

It's pretty well written, and how I learned. And best of all, freely available on the net.
I've actually seen that before... does it contain information on stuff like TCP/IP headers? What packets are made of etc? It seems to only skim over this: http://www.ecst.csuchico.edu/~beej/g....html#lowlevel

Hmm... at the bottom of that page it links to this: http://www.rfc-editor.org/rfc/rfc791.txt
It seems like a lot but I'll check it out.
     
Partisan01
Dedicated MacNNer
Join Date: Sep 2003
Location: Pittsburgh, Pennsylvania
Status: Offline
Reply With Quote
Jun 13, 2005, 08:29 PM
 
http://www.kohala.com/start/unpv12e.html

That is the book to learn on, it has everything you could imagine about C network programming. Sounds like what you're looking for. It assumes a basic knowledge of C. This is pretty much the gold standard of C network programming books.
Apple iBook, B&W, Quadra 660, PowerMac 6100
Sun Netra T1, Ultra 1, Javastation
http://natetobik.mine.nu:81
     
itistoday  (op)
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Jun 13, 2005, 09:05 PM
 
Originally Posted by Partisan01
http://www.kohala.com/start/unpv12e.html

That is the book to learn on, it has everything you could imagine about C network programming. Sounds like what you're looking for. It assumes a basic knowledge of C. This is pretty much the gold standard of C network programming books.
Ahhh... thanks! Yes that does look like what I'm looking for. Actually, a good friend of mine has it. I think I'll ask him if I can borrow it. It's not outdated though is it? It seems a bit old?
     
itistoday  (op)
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Jun 13, 2005, 09:30 PM
 
Does anyone know if there's much of a difference between the old book Partisan mentioned and this version?
     
Partisan01
Dedicated MacNNer
Join Date: Sep 2003
Location: Pittsburgh, Pennsylvania
Status: Offline
Reply With Quote
Jun 14, 2005, 09:43 PM
 
I think it has been updated, not by the author though. Richard Stevens passed away in 1999 or so. I think there were some other authors. I have the original version, I think it's pretty timeless, but there could be some useful updates in this version. I would recommend the newest version.
Apple iBook, B&W, Quadra 660, PowerMac 6100
Sun Netra T1, Ultra 1, Javastation
http://natetobik.mine.nu:81
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 12:17 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,