Description: Replace from_string with make_address.
 Since Boost 1.87 the deprecated from_string is removed.
Author: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>
Last-Update: 2026-03-12

--- a/examples/callee_new.cpp
+++ b/examples/callee_new.cpp
@@ -75,7 +75,7 @@
         // responses from the router.
         boost::future<void> f1, f2, f3;
 
-        auto endpoint = boost::asio::ip::tcp::endpoint(boost::asio::ip::address::from_string(argv[1]), atoi(argv[2]));
+        auto endpoint = boost::asio::ip::tcp::endpoint(boost::asio::ip::make_address(argv[1]), atoi(argv[2]));
 
         auto transport = std::make_shared<autobahn::wamp_tcp_transport>(io, endpoint, debug);
 
--- a/examples/parameters.cpp
+++ b/examples/parameters.cpp
@@ -38,7 +38,7 @@
 namespace {
 const std::string LOCALHOST_IP_ADDRESS_STRING("127.0.0.1");
 const boost::asio::ip::address LOCALHOST_IP_ADDRESS(
-        boost::asio::ip::address::from_string(LOCALHOST_IP_ADDRESS_STRING));
+        boost::asio::ip::make_address(LOCALHOST_IP_ADDRESS_STRING));
 const std::string DEFAULT_REALM("realm1");
 const uint16_t DEFAULT_RAWSOCKET_PORT(8000);
 const std::string DEFAULT_UDS_PATH("/tmp/crossbar.sock");
@@ -89,7 +89,7 @@
 void parameters::set_rawsocket_endpoint(const std::string& ip_address, uint16_t port)
 {
     m_rawsocket_endpoint = boost::asio::ip::tcp::endpoint(
-            boost::asio::ip::address::from_string(ip_address), port);
+            boost::asio::ip::make_address(ip_address), port);
 }
 
 #ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS
