On 01/28/2016 01:56 PM, Lloyd wrote:
I am using asio to read some data from SSL socket. asio tcp socket
implements a "receive" function, but ssl socket doesn't have an
implementation for "receive". In the code sample given below I wish to
implement this kind of behavior.
eg
{
...
sock.async_read_some(...);
//continue the execution only after the above call finishes.
}
Why are you using an asynchronous operation instead of simply calling
ssl::stream::read_some()?
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users