Solved: How to handle exception with Boost Asio and C C++ to avoid . . . boost::asio::write(s, boost::asio::buffer(heading_data, heading_length)); Select all Open in new window and everything works well if the server is connected, but if i try to connect the client when the server is closed, i get this error:
How do I use base64_from_binary from boost? - Experts Exchange It looks like you're not defining a type for one of your classes This is just a shot in the dark, but the compiler is probably looking for something along the lines of: out push(boost::archive<Ty peOfArchiv e>::iterat ors::base6 4_from_bin ary()); problem is here Can you show where you initialize boost?