Help in altering SSL example
Hello everyone, First, please excuse me if this question has already been asked and addressed. I searched what I was able to of the list and did not find information helpful to me. I am using the boost asio SSL examples as my starting point. At the moment the example simply takes a chunk of the overall data sent to the server and writes it back to the client, (simple echo). My goal is to have the server collect the entire message then move onto a message parsing routine that I will write. I have read through the code of many of the examples, and tried an endless combination of ideas in the code, but all have failed to read the entire message and then move onto a parsing function. Would someone please be kind enough to show me how to accomplish this? Thanks very much.
I have read through the code of many of the examples, and tried an endless combination of ideas in the code, but all have failed to read the entire message and then move onto a parsing function.
Do it in the very same way that you do with the regular asio::ip::tcp::socket. The only difference is that you have to perform the handshake after the socket is connected.
participants (2)
-
Ed Curren
-
Igor R