Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-09-14 10:13:40


Hi Scott,

Scott <cheesy4poofs_at_[hidden]> wrote:
> I did as you asked and unfortunately the results are the same.
> sys_error_code is still zero, even when I make the call
> immediately after the primitive_() call.

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();

> Does this imply there's a problem with the underlying ASIO SSL
> implementation?

Not yet ;)

Cheers,
Chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk