$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Oliver.Kowalke_at_[hidden]
Date: 2006-01-30 01:47:40
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