LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2004, 03:17 AM   #1
zalmox
LQ Newbie
 
Registered: Sep 2003
Posts: 29

Rep: Reputation: 0
Question Richard Stevens book


I need some help with this. I'm trying to learn more about the code implementation of TCP(not so much socket programming).

So far the best book(or one of the best) I found is Richard Stevens - TCP/IP Illustrated Vol.2 The Implementation, ISBN 020163354X. Another good one seems to be Douglas Comer - Internetworking with TCP/IP Vol. II ISBN 0139738436.

I would love to use the Stevens book, but he is using the 4.4BSD-Lite source code. Comer is using his own XINU. I don't have any of those

I am aware that the principles described in those books apply to other OS's as well. The thing is that I would like to be able to follow the source code samples line by line on a real system. I don't know how I could do this on my Debian, given the fact that the books are written with other OS in mind.

What could I do ??? Should I install BSD Lite ? Even if I do it, I guess things have changed since the book came out in 1995. Should I install XINU and use Comer's book ?

Are there any books or material I could use on Linux ? I would appreciate any input on this. Thanks
 
Old 02-27-2004, 06:09 AM   #2
dford
Member
 
Registered: May 2003
Location: Kansas
Distribution: RH 9, OpenBSD, FreeBSD
Posts: 60

Rep: Reputation: 19
The Stevens book(s) are pretty widely accepted as being the best or among the best Unix Network Programming books.

I'm not aware of any Linux specific Network Programming books with the same depth. You can easily dig around the net and find article and pages about Linux network programming, but none really approach the detail of something like the Stevens books.

Still, I believe that you will find that the concepts are VERY similar. If you can scrape together $50 you should be able to buy an old Pentium or Pentium II class machine and install one of the BSDs on it. That would give you the same basic code base. Might be cheaper than another book. On the other hand, the hard work of digging around the Linux code base to find the code that functions the same way would mean that you really understand it when you get done!

On the third hand I did notice that Amazon shows a book coming out in June called "The Definitive Guide to Network Programming" which MAY be similar.

Good Luck!
 
Old 02-27-2004, 10:02 AM   #3
shishir
Member
 
Registered: Jul 2003
Location: bangalore . india
Distribution: openSUSE 10.3
Posts: 251

Rep: Reputation: 33
you can try the linux networking kernel for the kernel stuff for linux, though as don said, these are just articles...but they are containing flowcharts that show how a packet travels inside the kernel, also there is glen herrins " linux ip networking" that tells that tells you how the network stack implementation.
these are good, though not exhaustive,,,,perhaps you could use these to understand the code better and write a good book someday...

but that book due in june sounds really interesting...

but till that time ...a stevens and these articles should start you off in a good way...

stevens can be bought anyway...it is that good a book...
and you can relate to a lot of stuff he talks about in linux too...afte rall he is talking about tcp/ip


reading a lot of kernel code always comes in handy...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in Building socket code from Stevens book Prakhardeep Linux - Networking 1 12-22-2004 04:46 PM
Richard Stallman on Software Idea Patents ernesto_cgf Linux - News 2 10-20-2004 01:07 AM
Looking for Richard...er I mean imlib psyklops Linux - General 1 08-31-2003 12:06 AM
Bill Gates And Richard M. Stallman Are The Same Person! Aussie General 1 07-15-2002 03:29 PM
W.Richard Steven BOOK source code atiato Linux - General 1 06-26-2002 08:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration