Joao Luis Meloni Assirati wrote: > > On Wed, 5 Nov 2003, Alfredo Braunstein wrote: > >> - why is that on EOF the communication aborts with errors? Can't we make >> lyxclient terminate the connection and exit gracefully as with BYE:? > > Sure, this is a bug. Lyxclient must detect EOF in stdin before trying to > read it. It cen be done using low level IO functions instead of iostream.
Why low level? Use ios::eof() or such... Alfredo
