Table of Contents

 

 < Day Day Up > 



bsd sockets programming from a multi-language perspective
BSD Sockets Programming from a Multi-Language Perspective
byM. Tim Jones ISBN:1584502681
Charles River Media 2004 (444 pages)

This thorough text covers the Sockets API in depth, including behavioral consequences, in a large variety of popular languages; including C, Java, Python, Perl, Ruby, and Tcl.

Table of Contents
BSD Sockets Programming from a Multi-Language Perspective
Part I - Introduction to Sockets Programming
Chapter 1- Networking Overview
Chapter 2- Introduction to Sockets Programming
Chapter 3- Standard BSD API Functions
Chapter 4- Advanced Sockets Functions
Chapter 5- Socket Options
Chapter 6- Advanced Sockets Programming Topics
Chapter 7- Optimizing Sockets Applications
Chapter 8- Sockets Programming Pitfalls
Part II - Sockets Programming from a Multi-Language Perspective
Chapter 9- Network Programming in the C Language
Chapter 10- Network Programming in Java
Chapter 11- Network Programming in Python
Chapter 12- Network Programming in Perl
Chapter 13- Network Programming in Ruby
Chapter 14- Network Programming in Tcl
Part III - Software Patterns from a Multi-Language Perspective
Chapter 15- Software Patterns Introduction
Chapter 16- Network Code Patterns in C
Chapter 17- Network Code Patterns in Java
Chapter 18- Network Code Patterns in Python
Chapter 19- Network Code Patterns in Perl
Chapter 20- Network Code Patterns in Ruby
Chapter 21- Network Code Patterns in Tcl
Appendix A- About the CD-ROM
Appendix B- Acronyms
Index
List of Figures
List of Tables
List of Listings


 

 < Day Day Up > 

 < Day Day Up > 



Back Cover

BSD Sockets Programming from a Multi-Language Perspective is written for software developers who need to create a variety of network applications. It begins by detailing the efficient and effective uses of the BSD Sockets API for networked application development in multiple languages. From there the BSD API is covered in detail and the purpose of each function and socket option is identified, including the advanced behavior side-effects of each. Having a thorough understanding of these issues and techniques is often the difference between being a novice and professional network application developer. Optimizing networked applications and avoiding common pitfalls are also addressed.

After the solid foundational coverage of the Sockets API in Part I, Part II investigates it from a variety of language perspectives. Using six different languages in all, including imperative languages (C), object-oriented languages (Java), and scripting languages (Perl), you learn the advantages and disadvantages of each languages as they relate to the development of networked applications and sockets API.

Finally, in Part III, a set of software patterns is discussed for each language. Patterns include a simple HTTP server and SMTP client, and various Sockets communication styles (stream, datagram, multicast, and broadcast). These patterns can be used as the basis for more complex applications or to give you a quick-start when building networked applications. The patterns also illuminate the differences between the network APIs for each language and identify how certain languages make patterns simple and others make them complex.

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 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, Developer 2.0, and Embedded Linux Journal.



 < Day Day Up >