After the server closes its side of the socket, there must be some 
amount of time after which if the client tries to send data over the 
socket, the client will receive a broken pipe error.  Is that 2.3 years? 
Or, closer to five minutes?

Here is a very technical diagram that includes what happens when one 
side closes the socket:

http://www.ssfnet.org/Exchange/tcp/tcpTutorialNotes.html#ST

As far as I can tell, if the client sleep()'s long enough after the 
server closes the socket, the client will receive a broken pipe error

-- 
Posted via http://www.ruby-forum.com/.