Questions tagged [Boost] (75)

0
answer

How to make a handshake with the help of Boost [Asio + Beast]?

I'm trying to download image through HTTPS (TLS) using Boost.Asio and Boost.Beast. OpenSSL is installed and connected. I used this example. It connects root_certificates.hpp, which contains the certificate itself and uses boost::asio::ssl::context::add_certificate_authority(). As I understand it: A certificate is a somet...
stephen_Pouros51 asked April 18th 20 at 12:20
2
answers

Install 32-bit boost libraries in ubuntu?

In General, the task was to connect restsdk to the project in linux for compiling 32 bit library. Compile, and that's what comes outthe independent@independent-W35xSS-370SS:~/workbench/ukau-gmod-module$ ./compile.sh /usr/bin/ld: /tmp/cc9Ec8ui.o: in function `_GLOBAL__sub_I_main.cpp': main.cpp:(.text+0xb0): undefined refere...
Wanda.Armstrong2 asked March 29th 20 at 21:35
1
answer

How to connect a boost.python without errors?

Has this structure: /boost /src _nonsence.cpp CMakeLists.txt Content CMakeLists.txt: cmake_minimum_required(VERSION 3.10) project(_PROTOCOL) #create executable file add_executable(main src/_nonsence.cpp) #The Boost lib set(BOOST_ROOT ./boost) find_package(Boost REQUIRED) if(Boost_FOUND) message("BOOST FOUND") in...
urban.Hayes71 asked March 24th 20 at 11:20
0
answer

On any long arithmetic algorithms implemented in the class library cpp_int Boost?

Can't find information about what the algorithms underlying the working class cpp_int. I suspect that in the multiplication algorithm is used Karatsuba for small dimensions and for large multiplication of the Fourier method, but that's just speculation.
novella asked March 23rd 20 at 20:16
1
answer

Where to find study materials on the boost library?

Please tell me any training materials in this library. Documentation quite difficult to understand.
percy asked March 20th 20 at 11:57
1
answer

How to go to a specific element of the matrix from a text file?

A matrix recorded in a cvs file. The separator character is ';'. 29;89;77;56;7;40;100;29;57;60; 49;4;44;51;86;37;25;54;51;61; 5;93;55;15;37;92;68;54;28;48; 83;48;16;50;93;20;64;76;78;42; 96;1;100;57;45;53;63;97;22;47; 84;25;76;61;31;52;53;90;46;5; 17;43;23;49;84;34;26;1;63;52; 68;54;48;96;83;37;34;37;96;92; 27;70;58;41;94;4...
Gayle_Leannon22 asked March 20th 20 at 11:46
0
answer

Asynchronous TCP server reads a message from a socket boost::asio?

Here is my code asynchronous TCP server and write it like the code example from the boost website#include <iostream> #include <boost/bind.hpp> #include <boost/asio.hpp> using namespace boost::asio; using namespace std; class session { public: session(io_service& service) : socket(service) { } ip::...
tremayne_Strosin asked March 18th 20 at 20:24
0
answer

How to read large responses in Boost::asio::read?

Don't understand how to count a very large response when a GET request boost::asio. do char buffer[1024] response not intermeddle. eventually crashes exception. and if you make the buffer 4096 then the app hangs. in while loop first reads the header, looking for Content-Length reads the length. the answer comes in the form ...
Lydia asked March 18th 20 at 20:14
0
answer

What to do if there are compilation error with Boost?

During the compilation process an error occurred which does not allow to finish the process, and this despite the fact that in Linux the code perfectly compiles and runs. For Windows using MSYS2. How can I resolve this error and compile the code? [ 80%] Building CXX object src/wallet/CMakeFiles/obj_wallet.dir/api/wallet.cpp...
johann_Ullrich asked March 17th 20 at 13:28
0
answer

How to pass the socket handler is not compiled or asynchronous TCP server, boost::asio?

Write asynchronous echo TCP server that must handle multiple clients. I imagine all this: the tcp_server instance waits for a connection and when connected to it - creates an object of class session, and provides the socket with the connection to the link, well, there is the socket travels to the handlers and the informatio...
Curt.Bosco64 asked March 17th 20 at 12:10