Книги
  • @
  • «»{}∼
Bsd Sockets Programming from a Multi-Language Perspective (Programming Series)

Bsd Sockets Programming from a Multi-Language Perspective (Programming Series)

1862048
Добавить в корзину
Рекомендуем также
Описание
BSD Sockets Programming from a Multi-Language Perspective is written for software developers who need to create a variety of network applications using the standard Sockets API. The techniques covered are applicable to numerous operating systems including Linux, Windows/Cygwin, embedded RTOS stacks, and any other system that offers a Sockets API.

It begins by clearly detailing the efficient and effective uses of the Sockets API for networked application development in the C language. From there the Sockets 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 beinga 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, Ruby, Python), and scripting languages (Perl, Tcl), 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 web server (HTTP) and email client (SMTP), 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 your own 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.

KEY FEATURES

* Provides comprehensive coverage of the Sockets API * 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 web server, email client, multicast and broadcast patterns, and more * Provides concise and helpful tips on creating efficient network applications and avoiding common pitfalls

On the CD The CD-ROM is made up of two parts: software and tools. In the software directory are the software patterns and examples for each of the languages. Under tools are the interpreters and tools used with the examples. * Software Patterns Contains 15 subdirectories covering a number of chapters from the book Code examples from the book are included, as well as the software patterns for Ruby, Tcl, C, Perl, Python, and Java * Software Tools Contains software tools and languages of the versions used in the book * The Perl, Ruby, Tcl, and Python interpreters are included in source form, and executables are provided for Ruby and Python

SYSTEM REQUIREMENTS PC: The minimum system requirements for the tools, patterns, and examples are: Pentium I processor or above; CD-ROM Drive; Hard Drive (350MB available space for tools, 1MB for patterns and examples); 128MB of RAM; The tools and code examples provided in this book require Linux (tested with Red Hat 7.2, but will run any standard distribution) or Windows 95/98, Windows NT, Windows 2000 or Windows XP with Cygwin.