ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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)
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.
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
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.