LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-04-2005, 10:23 PM   #1
r_squared
Member
 
Registered: Oct 2004
Distribution: RedHat Fedora core 2
Posts: 35

Rep: Reputation: 15
Tcp/ip protocal books...


Hi, I am trying to learn more about the tcp/ip protocal suit. I want to use c/c++ to program some programs to monitor my network and do some other stuff to. I know alittle about c++ already and need some advice on what books to read that would help me learn networking protocols better.
 
Old 03-04-2005, 10:41 PM   #2
hiteshmaisheri
Member
 
Registered: Nov 2003
Location: Kerala, India
Distribution: Red Hat, Knoppix, Mandrake, FreeBSD
Posts: 231

Rep: Reputation: 30
Bettter read through Richard Stevens TCP/IP series, it is available in three volumes (i suppose) for getting better hold on coding ideas.
 
Old 03-05-2005, 02:21 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I use RFCs myself - they're shorter than books and they have all the details. But if you don't have any networking background, a book may be a good idea.

You also need something about they way you do network programming. It depends on the system you want to program for and the task. A guide to BSD sockets (Stevens book?) is a good start.
 
Old 03-07-2005, 10:23 AM   #4
r_squared
Member
 
Registered: Oct 2004
Distribution: RedHat Fedora core 2
Posts: 35

Original Poster
Rep: Reputation: 15
I was looking in the "book reviews" section of this web site, and came across these books: "Linux socket programming", and "C how to program". both are under $3. Being that I have a limited budget, these books are in my price range (less than or equal to $10 ). Are they worth buying? The books mentioned earlier in this thread are kind of pricey. Are there any other cheap books out there worth reading?

p.s I am a novice programmer of C++ ( I know only the basics)
 
Old 03-08-2005, 05:19 AM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I don't know the two. I have 'Linux Socket Programming by Example' by Warren Gay and it's good. Stevens books are rather easy to find in libraries (as they're classic), so it's an option.
 
Old 03-08-2005, 07:16 AM   #6
hiteshmaisheri
Member
 
Registered: Nov 2003
Location: Kerala, India
Distribution: Red Hat, Knoppix, Mandrake, FreeBSD
Posts: 231

Rep: Reputation: 30
I don't think rfcs are good starting point for a beginner.. I think richard steven's first book on is a very good book to start for socket programming..
Hitesh
 
Old 03-08-2005, 11:26 AM   #7
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
I haven't read it myself, but people say the freely downloadable book "Beej guide to network programming" is not bad.

Get it here: http://www.ecst.csuchico.edu/~beej/guide/net/

Also, the (also freely downlaodable) book "Advanced Linux Programming" has a chapter about sockets.

Get it here: http://www.advancedlinuxprogramming.com/downloads.html
 
Old 03-10-2005, 09:02 AM   #8
meDream
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1
Posts: 47

Rep: Reputation: 15
well the freely downloadable book "Beej guide to network programming" is the first step and a very short first step.
it is easy for understand and very good for a quick overview on the sockets, but for more complex things to play with...

i've started with the "Beej guide...." then i get the R. Stevens: "UNIX Network programming vol1" it has every thing i need for the second, third and fourth step. Whit a lot of examples and what i find very interesting is that it has exercises...

Stevens home page
U can find a lot of stuff
Bye
 
  


Reply



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
Can't Write to CD -- protocal drive? watsond1829 Linux - Hardware 3 04-11-2005 02:42 AM
smb is not a registered protocal bruse Linux - Newbie 2 03-10-2005 10:47 AM
Woody 3.0 Open Ports 1470/tcp/uaiact 1518/tcp/vpvd What for?How can I remove them? alexxxis Debian 5 07-05-2004 05:18 PM
What protocal do I use kmail HadesThunder Linux - Newbie 6 04-26-2004 07:02 PM
close port 6000/tcp 515/tcp SchwipSchwap Linux - Newbie 1 09-12-2002 08:24 AM

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

All times are GMT -5. The time now is 11:35 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