OpenBSD Journal

New Book on BSD Sockets Programming Released

Contributed by jose on from the learn-up dept.

Mark Hughes writes: "Hingham, MA, October 20, 2003: Charles River Media announces BSD Sockets Programming from a Multi-Language Perspective, the complete guide to creating a variety of network applications. The book begins by describing the BSD API in detail and identifying the purpose of each function, including the rarely discussed behavioral side-effects. A solid understanding of these issues can be the difference between a novice and a professional network developer. From there, the book then investigates the Sockets API from a variety of language perspectives. Using six different languages in all, including imperative languages ( C ), object-oriented languages ( Java), and scripting languages (Perl), developers learn the advantages and disadvantages of each language as they relate to the Sockets API. The book concludes by discussing a set of software patterns for each language, including a simple HTTP server and SMTP client, and various Sockets communication styles. These patterns can be used as the basis for more complex applications or to give you a quick-start when building networked applications. The accompanying CD-ROM includes all of the source code detailed in the book as well as open source compilers, interpreters, and other tools."

"KEY FEATURES

  • Provides in-depth coverage of the Sockets API including behavioral side-effects
  • Offers complete coverage of BSD socket options and their effects on network application
  • Discusses the usage of the Sockets API in a variety of popular languages, including C, Java, Python, Perl, Ruby, and Tcl
  • Looks at language specific network programming alternatives
  • Analyzes the implementations of standard software patterns for each of the covered languages, including a simple HTTP server, SMTP client, multicast and broadcast patterns, and more
  • Provides helpful tips on creating efficient network applications and avoiding common pitfalls
ABOUT THE AUTHOR
M. Tim Jones (Longmont, CO) is a successful software engineer and the author of TCP/IP Application Layer Protocols for Embedded Systems and AI Application Programming. His articles have appeared in Dr. Dobbs Journal, Embedded Systems Programming, and Embedded Linux Journal.

Book Information
ISBN: 1-58450-268-1
MSRP: $49.95 U.S. $74.95 Canada
PUB DATE: September 2003

Phone and Secure Internet Ordering
PHONE: 1-800-382-8505
FAX: 1-703-996-1010
Internet: www.charlesriver.com
Email: info@charlesriver.com

Charles River Media, Inc. publishes books and software tools for computing professionals. Their titles can be ordered direct, or found through distributors and bookstores worldwide. Selected chapters and product demos can be found on our Web site: http://www.charlesriver.com

Media Inquiries: Contact Mark Hughes at 781-740-0400, fax 781-740-8816, or email mhughes@charlesriver.com "

I haven't read the book, but it may be worth checking out.

(Comments are closed)


Comments
  1. By Mike S () on http://www.nedyah.org

    But I'm guess I'm not going to be able to go to Borders and browse through it. I'm guessing the publisher is smaller, and less mainstream. I've never bought or seen any of their books. Can any one comment? Anyone besides the publisher or author have anything to say as far the what to expect from them?

    Interesting topic, to be sure. Sounds like an interesting (if not overly wide reaching) examination of a very worthwhile topic. The discussion on common software patterns around sockets seems promising. The question is, how much time does this save from actually browsing the code of an existing OSS project that employs one of these patterns?

    Comments
    1. By Chris () on www.octdev.com

      I have a couple of books by Charles River Media and they are quite good, due both to author(s) and publisher. They produce the Game Programming Gems series, along with a whole lot of other game development books. I am pretty happy with many of their books that I browse through; in fact as far as technical books go, I'd rank them as my 4th or 5th favorite publisher.

      Additionally, many of their books are hardbound, and as I tend to only buy books with 'staying power' for my technical bookshelf, I appreciate that. I don't know if this one is hardbound or not.

      Their books are at Borders. Lots of them. So I am willing to bet you can go and browse to your heart's content. I will be doing that this weekend, and if it looks good I may be ordering it later that day.

      Note that I am not affiliated with them in anyway other than being a very impressed customer.

      Comments
      1. By anonymous () on

        why not purchase the book at borders while you are there?

        Comments
        1. By Chris () on

          Because it is *much* cheaper to buy (technical) books online than at Borders. I just go in to really look at the books before I buy them online, or to buy small paperbacks (fiction).

  2. By Anonymous Coward () on

    ...but who has actually received an OpenBSD 3.4 CD?

    Comments
    1. By Anonymous Coward () on

      ...but who has actually received an OpenBSD 3.4 CD?

      received mine a couple days ago.

      Comments
      1. By James Nobis () on http://www.quelrod.net

        i haven't gotten mine yet...maybe only canadians and folks in the northeast us are getting them.

        Comments
        1. By Gimlet () on

          Nope...got mine here in the Midwest yesterday. Haven't had a chance to install yet, but it will be soon...can't wait!

      2. By Eduardo Alvarenga () on

        I've received mine yesterday (23/10/2003) and I'm pretty happy with it. The only thing I can complain about is the spring clips that hold de disc in place - they aren't quite strong enough... disc one popped out as i opened the case and got wedged in the hinge. This happened with the 3.3 set too... May have the customs broke the clips ? ;-)

        Comments
        1. By Anonymous Coward () on

          hahaha funny you mention this...it has also happend to me with 3.2 3.3 etc this time i am ready for it when i open my 3.4 cd's!

    2. By Petr R. () pruzicka@openbsd.cz on http://www.openbsd.cz

      I did yesterday (in CZ, Europe).

    3. By Wim () Wim@kd85.com on http://kd85.com

      From the feedback I got, about half of the people already received theirs in Europe and the rest should be getting them next week at least (just before 1st of November) as they've all been shipped in Europe.

      I don't know where you ordered from though, your IP address looks like it's from the US?

      Comments
      1. By Original Poster () on

        Yes I'm in the U.S. (in the South). Still waiting for it.

        Thanks for the feedback, everyone!

  3. By toyo () on

    nice to hear another book that start to consider ruby :)

  4. By joe_bruin () on

    how does it compare to Unix Network Programming (Stevens)? what does it cover for the c programmer that stevens does not?

    Comments
    1. By joe_bruin () on

      err, make that two questions.

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]