Boost logo

Boost :

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


Christopher Kohlhoff <chris_at_[hidden]> 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


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