title: UNIX Network Programming: Networking APIs: Sockets and XTI; Volume 1
author:  W. Richard Stevens 
description: The classic programming text <I><A href="/exec/obidos/ASIN/0139498761/${0}">Unix Network Programming</A></I> has been updated by author W. Richard Stevens to encompass three new volumes. There have been a few changes in the computing world since 1990 (the year the original was published), and Stevens has taken the opportunity to create a complete set of reference manuals for programmers of all skill levels.
zlib_text: Sockets programming in Ruby
  Explore Ruby's fundamental sockets interfaces for networking
  applications
  Skill Level: Intermediate
  M. Tim Jones (mtj@mtjones.com)
  Senior Principal Software Engineer
  Emulex Corp.
  11 Oct 2005
  This tutorial shows how to develop sockets-based networking applications using the
  Ruby language. The author presents some Ruby basics and walks through the most
  important classes for sockets programming, followed by working chat application that
  illustrates these fundamentals. The tutorial finishes by exploring the higher-level
  classes that make it easy to build dynamic Web servers, mail servers and clients, and
  other application-layer protocols.
  Section 1. Before you start
  About this tutorial
  Ruby is an object-oriented scripting language that is simple, elegant, and dynamic.
  Ruby originated in Japan, but it's now gaining popularity in the U.S. over traditional
  scripting languages such as Python and Perl.
  This tutorial demonstrates how to use the Ruby language, with emp