
14 Sep
2006
14 Sep
'06
2:47 p.m.
Christopher Kohlhoff <chris@kohlhoff.com> wrote:
My mistake -- I should have checked the man pages first. Try changing this line:
int sys_error_code = asio::detail::socket_ops::get_error();
to be:
int sys_error_code = (int)ERR_get_error();
I forgot to mention that a #include <openssl/err.h> line is probably also needed. Cheers, Chris