From: jolsen@...2world.com (Jesper Olsen) Date: 2003-08-22T23:17:51+09:00 Subject: TCPSocket & Threads Is there any reason ruby's TCPSocket should not work with threads? Ie. reading and writing to the same socket in parallel? I am having some problems, but it could be my code rather than the library :-) Where is the best documentation for this module? The pragmatic book http://www.rubycentral.com/book/lib_network.html seems to leave out many details * E.g. TCPSocket sessions have "read" and "write" methods which are not mentioned. * The send method seems to take two arguments instead of just one send(msg, length) Is this code documented elsewhere? The only other place I know where to look is the Ruby-1.8.0/ext/socket/socket.c file...that can't be right?! Jesper