Re: [boost] [asio] SSL operation sporadically returns "Access is denied"

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
6849
Age (days ago)
6849
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christopher Kohlhoff