On the CD-ROM

 < Day Day Up > 



The CD-ROM contains the software patterns discussed in Chapter 16 through Chapter 21. Where applicable, software patterns for stream sockets, datagram sockets, multicast sockets, broadcast sockets, simple HTTP servers, and simple SMTP clients are provided. Each language discussed in the book is provided with a sample implementation that provides the basis for more complex applications, and as a basis for comparison to better understand how each language provides a particular network feature. Also provided on the CD-ROM are complete code examples from Chapters 2, 5, 6, and 10-14.

The CD-ROM also contains language interpreters and tools that can be used on either Windows or Linux. C is not provided, as C compilers are common on most operating system distributions. A Java interpreter is also not provided due to licensing issues.

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. In the tools directory are the interpreters and tools used with the examples.

Software Patterns

The ./software directory contains 15 subdirectories covering a number of chapters from the book (./ch16 for C, ./ch17 for Java, ./ch18 for Python, ./ch19 for Perl, ./ch20 for Ruby, and ./ch21 for Tcl). Under each of the language chapters are the pattern chapters, which are labeled ./stream (stream socket client and server), ./dgram (datagram socket client and server), ./mcast (multicast socket client and server), ./bcast (broadcast socket client and server), ./shttp (simple HTTP server), and ./smtpc (simple SMTP client). Subdirectories ./ch2, ./ch5, ./ch6, and ./ch10 through ./ch14 include code examples from those chapters of the book.

Software Tools

The ./tools directory contains software tools and languages of the versions used in this book.

The Perl interpreter is provided in source form for Linux or Cygwin (./tools/perl/perl-5.8.0.tar.gz) and is provided under the 'Artistic license' (provided as ./tools/perl/license.txt).

The Ruby interpreter is in source form for Linux or Cygwin (./tools/ruby/ruby-1.6.8.tar.gz) and as a Windows executable 9x/NT/2000/XP (./tools/ruby/ruby168-8.exe). Ruby is copyright-free software by Yukiro Matsumoto and is distributed under the GPL (./tools/ruby/license.txt).

The Python interpreter is provided in source form for Linux or Cygwin (./tools/python/Python-2.2.2.tgz) and as a Windows executable for 9x/NT/2000/XP (./tools/python/Python-2.2.2.exe). Python is distributed under the GPL license (./tools/python/license.txt).

The Tcl interpreter is provided in source form (./tools/tcl/tcl8.4.3-src.tar.gz). It can be used on Linux platforms and Windows platforms (9x/NT/2000/XP). Tcl is copyrighted by the Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState Corporation, and others and is distributed under a BSD-style license (./tools/tcl/license.terms).



 < Day Day Up > 



BSD Sockets Programming from a Multi-Language Perspective
Network Programming for Microsoft Windows , Second Edition (Microsoft Programming Series)
ISBN: 1584502681
EAN: 2147483647
Year: 2003
Pages: 225
Authors: Jim Ohlund

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net