Re: [Boost-users] boost::iostream - returning EOF in device::writeand set failbit

29 Jan
2006
29 Jan
'06
11:47 p.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
7080
Age (days ago)
7080
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver.Kowalke@infineon.com