>>>>> "C" == Christian Kruse <CK1 / wwwtech.de> writes:

C>       @sock.accept do

 #accept don't take a block as arguments.

 You have an example for TCPServer in

 http://www.ruby-lang.org/en/man-1.4/socket.html#TCPServer 
  


Guy Decoux