Re: [Boost-users] boost::iostream - returning EOF in device::writeand set failbit
30 Jan
2006
30 Jan
'06
6:47 a.m.
Hello Petro,
would the eofbit be set if I return EOF in device::write? How can I set failbit from device?
Does it make sense for write to return EOF? EOF means "no more data". But writing is inserting data, not requesting it.
If you write to a socket and the peer has already closed the socket you get an EPIPE error. How would you propagate this to your application? Oliver
6864
Age (days ago)
6864
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver.Kowalke@infineon.com