Are you calling run( ) on the ioservice ( boost::asio::io_service ) ?

 

Radu

 

From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of ???
Sent: 19 August 2016 07:57
To: boost-users <boost-users@lists.boost.org>
Subject: [Boost-users] Boost Asio SSL can't receive without sending

 

Hi, I am using Boost Asio to developed a server, with SSL support.

I add async_read_some() function in handshake handler and send handler.

Which receiving is OK if I send something to clients, but I can't keep receiving

after I stop sending things to client. So I am wondering how can I keep receiving, 

I know there must be a way to make it, I am new to Asio, can someone help, thanks

in advance.

 

------------------

I won't go