From: Zach Dennis Date: 2005-11-04T21:40:52+09:00 Subject: Re: Question about TCP manuals Jacek Olszak wrote: > Hi everyone...I'm new to ruby and I'm looking for some good manual > about TCP networking in Ruby. I've > a Programming Ruby book, but it doesn't contain enough informations I > want. I've googled the web but > didn't see any full manual yet. I want to know such informations like > for example: how to check in > my code, when the connection was closed by a foreign host etc. The best book out there is probably Unix Network Programming by Stevens. Ruby's socket library wraps each underlying system call with a ruby method. Now as you go up from BasicSocket/Socket to IPSocket/TCPSocket/TCPServer it all gets a little nicer and friendlier. I have submitted some documentation (with examples) for the Socket library, but it has not been accepted or denied yet by the ruby-core group, perhaps if you give a description of what you're looking to do folks can steer you in the right direction. Zach