This document provides an introduction to sockets programming in Ruby. It discusses Ruby's socket class hierarchy, including the Socket class which mimics the BSD sockets API. It then gives examples of using the Socket, TCPSocket, and TCPServer classes to create client and server sockets and allow communication between them. The goal is to demonstrate how to build a basic chat server application in Ruby using sockets.