Overview
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 behavioral 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 language as they relate to the development of networked applications and the 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. The accompanying CD-ROM includes all of the source code from the book, including the patterns detailed in Part III, as well as open source interpreters and other tools.
Synopsis
This guide offers instructions for creating a variety of network applications. It begins by describing the BSD APIO in detail and identifying the purpose of each function, highlighting behavioral side-effects. It then investigates the Sockets API from a variety of language perspectives. Covering six different languagesincluding imperative languages (C), object-oriented languages (Java), and scripting languages (Perl)the book discusses the advantages and disadvantages of each. A companion CD-ROM includes all the source code detailed in the book as well as open source compilers, interpreters, and other tools. Jones is a software engineer. Annotation ©2003 Book News, Inc., Portland, OR