MtGox API and websocketpp
I can't get info from MtGox API via WebSockets C++ library named websocketpp : #include <websocketpp/config/asio_no_tls_client.hpp> #include <websocketpp/client.hpp> #include <iostream> typedef websocketpp::client<websocketpp::config::asio_client> client; using websocketpp::lib::placeholders::_1; using websocketpp::lib::placeholders::_2; using websocketpp::lib::bind; typedef websocketpp::config::asio_client::message_type::ptr message_ptr; void on_open(websocketpp::connection_hdl hdl) { std::cout << "on_open \n"; } void on_close(websocketpp::connection_hdl hdl) { std::cout << "on_close \n"; }