|
Boost Users : |
Subject: Re: [Boost-users] Boost Asio SSL can't receive without sending
From: Áõ»À½Ü (jenenliu_at_[hidden])
Date: 2016-08-22 01:01:25
Hi Radu, yes, I have called run() on the ioservice.
And I still can't figure out why, do I need to keep sending things to client?
Thanks for reply.
------------------
jenenliu
------------------ Original ------------------
From: "Radu Andrei Nedelcu";<radu_at_disruptive.engineering>;
Date: Fri, Aug 19, 2016 11:35 PM
To: "boost-users_at_[hidden]"<boost-users_at_[hidden]>;
Subject: Re: [Boost-users] Boost Asio SSL can't receive without sending
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