From: "Iñaki Baz Castillo" Date: 2010-01-13T06:47:58+09:00 Subject: Re: TCPSocket doesn't detect remote disconnection inmediatelly El Martes, 12 de Enero de 2010, Iñaki Baz Castillo escribió: > El Martes, 12 de Enero de 2010, Brian Candler escribió: > > Iñaki Baz Castillo wrote: > > > Hi, I'm experimenting an annoying issue when a server disconnects a TCP > > > connection established by a Ruby client. > > > > Try writing a C program which uses the Unix socket API directly. It will > > be instructive. The book "Unix Network Programming (vol 1)" by the late > > Richard Stevens is an excellent authoritative tome. > > I'll do it. But it would be great if at least I could know in advance if > what I described is the expected behavior :) Well, I've not tested in C yet, but I confirm that in PHP the same occurs :) -- Iñaki Baz Castillo