Have one to sell? Sell yours here
Linux Socket Programming
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Linux Socket Programming [Paperback]

Sean Walton


Available from these sellers.


Formats

Amazon Price New from Used from
Paperback --  
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Amazon.co.uk Trade-In Store for more details.

Product details


More About the Author

Sean Walton
Discover books, learn about writers, and more.

Visit Amazon's Sean Walton Page

Product Description

Product Description

This book teaches readers how to program Linux sockets, and gives them everything they need to know to make programs communicate effetively over networks.

It presents a comprehensive discussion of all relevant topics including: writing programs compatible with both Internet Protocol version 4 (IPv4) and IPv6, raw sockets, User Datagram Protocol (UDP), broadcasting /multicasting, server internals, and more, plus a section covering Posix threads.

It provides thorough coverage of programming with the TCP, UDP, and IP protocols, as well as lower-level raw sockets. The myriad of function calls, data structures, and options associated with the APIs are explained with well-chosen diagrams and tables.

  • After reading this book, the reader will be able to:
  • Differentiate basic datagrams vs. streaming sockets.
  • Differentiate unicast, broadcast, and multicast sockets.
  • Write socket-based network programs.
  • Write portable code for various OS'.
  • Implement client-server and peer communications
  • Increase network throughput using "connectionless" communications
  • Manage asynchronous I/O, I/O and multiple sockets.
  • Use signals, threading and processes to manage socket connections.
  • Understand new socket technologies like Mbone and 6bone.
  • Understand Remote Procedure Calls and how to implement them.
  • Understand the different socket addressing types.

From the Back Cover

This book teaches readers how to program Linux sockets, and gives them everything they need to know to make programs communicate effetively over networks.
It presents a comprehensive discussion of all relevant topics including- writing programs compatible with both Internet Protocol version 4 (IPv4) and IPv6, raw sockets, User Datagram Protocol (UDP), broadcasting /multicasting, server internals, and more, plus a section covering Posix threads.
It provides thorough coverage of programming with the TCP, UDP, and IP protocols, as well as lower-level raw sockets. The myriad of function calls, data structures, and options associated with the APIs are explained with well-chosen diagrams and tables.
After reading this book, the reader will be able to-
Differentiate basic datagrams vs. streaming sockets.
Differentiate unicast, broadcast, and multicast sockets.
Write socket-based network programs.
Write portable code for various OS.
Implement client-server and peer communications
Increase network throughput using "connectionless" communications
Manage asynchronous I/O, I/O and multiple sockets.
Use signals, threading and processes to manage socket connections.
Understand new socket technologies like Mbone and 6bone.
Understand Remote Procedure Calls and how to implement them.
Understand the different socket addressing types.

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

There are no customer reviews yet on Amazon U.K.
5 star:    (0)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
Share your experience with this product with others
Create your own review
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.0 out of 5 stars (8 customer reviews)

15 of 16 people found the following review helpful:
1.0 out of 5 stars Are Other Reviewers Using the Same Book?, 6 Nov 2001
By Sean Newton "bouldersean" - Published on Amazon.com
This review is from: Linux Socket Programming (Paperback)
I am really not sure if the other reviewers are leaving comments for the same book. I purchased this book to gain an understanding of socket programming in Linux. I made it half way through chapter 2 before returning the book.
Problems started with chapter 1. The writing style is extremely choppy. The book references sample code on the included CD-ROM and in the back of the book. Guess what? No CD and no code appendix. We are not talking just one reference to this. There are several in chapter one and the part of chapter two I read kept refering to the CD for RFCs.
So, you might say, perhaps there is a web site with code. Eureka! there is. So I happily try to compile the sample simple-client code for chapter 1. One error, one warning, and code that doesn't match what is said in the book. Specifically: the error was caused by forgetting to #include <errno>, warning on line 62 because there needs to be an explicit cast to (struct sockaddr*) and finally in big bold letters in a gray box the author states that the book's sample code will use PF_ prefixes vs AF_. Not true in the code I looked at.
I did email the author and received a quick response. He let me know that he was having to foot the bill for the web site. Shame on the publisher for the lack of support. But shame on Mr. Walton for publishing such unpolished code.
Maybe the rest of the book is ok. Explantions were extremely shallow in chapter one when talking about function calls and structures with references to RFCs and other resources. I paid for the book to be a resource, not to be referred other places. What explanations there were jumped all over the place without any real meat, sometimes using useless analogies. I didn't feel like fighting my way through the rest of it. I broke down and ponied up for Stevens TCP/IP Illustrated Volume 1 and Unix Network Programming Volume 1.

5 of 6 people found the following review helpful:
3.0 out of 5 stars Has useful tidbits (but that's about it), 19 Sep 2001
By Alexander L. Belikoff - Published on Amazon.com
This review is from: Linux Socket Programming (Paperback)
First of all, this book is no UNPv1. If you want to learn network programming for UNIX/Linux, there is nothing that could replace UNPv1 (Stevens "Unix Network Programming" 2nd ed., vol. 1). [CORRECTION: actually Comer's book(s) are comparable to those of Stevens]

Now back to the book reviewed. I bought it because it seemed to elaborate a bit more on a subject covered only briefly by Stevens: concurrent network I/O in real-world conditions. Well, it did have a special section on the subject but it didn't provide any particular information I was looking for:

- analysis of different I/O methods' behavior under different load conditions

- throughput analysis

- applicability of different methods in different UNIX flavours (Oops, this is a book for Linux! Still, it would be nice if the author at least mentioned the portability issues)

- while the examples were nice and clear, it would make sense to create an I/O abstraction layer that would act as a (de)multiplexor and to change only this layer for every I/O paradigm.

So, once we get past the section on real-world network I/O issues, what we are left with is a decent yet not perfect book on network programming. It will teach you how to develop network applications for Linux but it won't provide the same depth UNPv1 does.

Conclusion: Read it if you want to quickly start developing network apps and you don't have time for UNPv1. Otherwise go for UNPv1. Still, it is worthwhile to skim through the sections on throughput and performance.


2 of 2 people found the following review helpful:
4.0 out of 5 stars Very Good source and Explanation, 7 Aug 2003
By slackware #1 - Published on Amazon.com
This review is from: Linux Socket Programming (Paperback)
I think this book is well written, it gives you the basic idea of the network protocal, mainly how each piece is created in a packet. It even goes a little into the Network OSI model, if you dont know about networking, then I can see how this book would seem hard for some ppl. I do admit that i wasnt too happy when i didnt get the cd that the book references too, but if you really need it, you can find it with a little bit of effort, or go to [the website]. Hope this helps those who need it :^).
 Go to Amazon.com to see all 8 reviews  3.0 out of 5 stars 
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback