|
Boost Users : |
From: Oliver.Kowalke_at_[hidden]
Date: 2006-01-30 06:37:35
Hallo,
how can I set failbit or badbit in boost::iostream::stream if I detect
some error in boost::iostream::device::read/write?
Is it possible without throwing exceptions?
Example: in the write method of a device which models a socket
connection an EPIPE error (peer has closed socket) was detected. How can
I set the boost::iostream::stream (which uses the device) to be not
useable?
Regards,
Oliver
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net