diff --git a/examples/TcpServerExample.cpp b/examples/TcpServerExample.cpp index 37a4266c94..a02840a0ba 100644 --- a/examples/TcpServerExample.cpp +++ b/examples/TcpServerExample.cpp @@ -129,7 +129,7 @@ class Client }; Client() :remote_end_point_(protocol_json_handler, endpoint, _log) { - tcp::endpoint end_point( address::from_string(_address), 9333); + tcp::endpoint end_point( make_address(_address), 9333); socket_ = std::make_shared(); socket_->connect(end_point);