On Wed, 19 Jul 2006 14:20:26 +0200, Stefan Lucke wrote > But safe_read() has to be modified, as socket is non- > blocking (oldflags |= O_NONBLOCK;), EAGAIN should be handled too: Before safe_read() select() is called through file.Ready(). So EAGAIN should not occur with SVDRP. But of course you're right if safe_read() is intended to be called for nonblocking IO without prior select(). Cheers, Frank