Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Asio SSL can't receive without sending
From: Radu Andrei Nedelcu (radu_at_[hidden])
Date: 2016-08-19 11:35:50


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

Radu

From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of ???
Sent: 19 August 2016 07:57
To: boost-users <boost-users_at_[hidden]>
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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net