SHARE
Facebook X Pinterest WhatsApp

TheLinuxGurus.org: Linux Socket Programming by Example [Book Review]

Written By
thumbnail
Web Webster
Web Webster
Jun 14, 2000

[ Thanks to David Culp
for this link. ]

“I have wanted to learn socket programming for quite sometime
now. I have always had this idea of making a clone of the
board-game “Starfleet Battles” for Linux. Of course it could not be
called Starfleet Battles and of course it could not use the same
rules but the concept would be similar, a massive starship tactical
war game played over a network. I lacked any experience at network
programming however and until recently had not done much with Linux
graphics programming. Well, I went off and learned SVGA programming
under Linux and now I have learned basic socket programming, so I
guess I have no more excuses (except I cannot draw!!). This book
really helped me grasp socket programming through its explanations
and example code. The book only covers socket programming in C, you
are expected to already be familiar with C before beginning the
book.”

Each chapter in structured in the same general way,
concepts/functions are introduced with a discussion of how each
works and why the function is needed. One the relevant concepts and
functions are introduced with through explanations they are used in
an example program.
The example program is then broken down on
a nearly line by line basis and completely explained. I found the
example code to be highly readable and straightforward, no tricks
here. The pattern then repeats itself until the end of the book.
All the example programs are stand-alone programs, no code snippets
and incomplete examples. The final chapter presents a complete
network project from planning to completion. The example is a stock
quote client and server. The server retrieves a list of stock
quotes from a source and the clients can connect to the server to
retrieve those quotes. There is no CD-ROM included with the book,
however all of the books example code can be downloaded from
http://www.mcp.com/que/sourcecode_que.cfm?item=0789722410 NOT from
http://www.quecorp.com/series/by_example/ as stated in the
book.”

Complete
Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.