From: pa (Patrick A. O'Donnell)

Subject: Timeout in stream read operations (wanted)

Date: 1997-4-29 10:30

Hello,

I want to be able to time out in a read-sequence call on a stream I've
constructed from a socket fd.  I've taken a quick look at the
buffer-input-wait-default function from CLX, and I can probably adapt
something like that to make sure there's input before calling
read-sequence.  However, I'd prefer to be able to time out even if
there's not enough data come over the wire to satisfy the
read-sequence (specifically, if the server hangs up in the middle of
sending a message).

I suspect I can write an around method for the appropriate stream
function that read-sequence calls to fill the sequence.  Before I
investigate that approach, I want to see if anyone else has done
something similar that I can leverage off of.

		- Pat
-------------------------------------------------------------------------------
  Patrick A. O'Donnell			  Ascent Technology, Inc.
 Development Scientist			 64 Sidney St, Cambridge, MA 02139-4136
<ascent.com at pao>				617-225-0850 x305