SVDRP ignores EOF (clientside close)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux