Hi Tomas,

Tomas Volf <~@wolfsden.cz> writes:

> Hello,
>
> I am trying to figure out how to abort a read from a socket after some time
> elapses.  I failed to figure out how to do so.

If the reason you want to abort reading from a socket is because the
socket may not be ready, you could use select(2), which has a timeout
value.

See man 2 select or the corresponding 'select' procedure documented in
the Guile Reference manual.

-- 
Thanks,
Maxim

Reply via email to