------ art_6665_6116076.1193687655313 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi everyone, I'm currently developing a Ruby TCP client and have a problem with socket.recv(). After establishing a connection with my server, I exchange a couple of messages until the server begins to do some calculations based on the client's request that take about 10 seconds. After the server finishes, it sends back the result. Now my problem is that "data ocket.recv(size)" seems to behave non-blocking for some reason. It does not wait for the 10 seconds but rather executes immediately and "data" remains empty. When I add "sleep(10)" before, it works... Any hints would be great. Thanks in advance, Frank ------ art_6665_6116076.1193687655313--