17 Nov
2006
17 Nov
'06
3:55 a.m.
Hi Dean, Dean Kassmann wrote:
With the new changes to asio error handling; I'm updating some code and running into a problem on windows with vc8 [...] if (error == boost::asio::error::success) { // doesn't work because error_code::category() differs } [...] doesn't seem to work because the error_code categories differ. Am I doing somthing wrong/stupid?
You should probably still use "if (!error) ...". Thanks for pointing this out -- it's something I had overlooked. I should remove the error::success constant since you're right and there is no single value for success any more. Cheers, Chris