
26 Jun
2006
26 Jun
'06
2:05 p.m.
Oliver.Kowalke@qimonda.com wrote:
Christopher Kohlhoff wrote:
There's also the problem of the error asio::error::eof, which corresponds to a real error on Windows, but is synthesised on POSIX platforms.
What about adding EEOF -1 (or so) inside error_code.hpp and apply a switch-statement inside system_message?
That's essentially what I do in the boost::asio::error class right now. It would be nice to find a more generic solution, however. Cheers, Chris