This code will initialize a boost::asio::tcp::endpoint
from a IPv4 address string ("127.0.0.1"
as an exmple) and a port number (443
in this example)
boost::asio::ip::tcp::endpoint ep( boost::asio::ip::address::from_string("127.0.0.1"), 443 );
This code will initialize a boost::asio::tcp::endpoint
from a IPv4 address string ("127.0.0.1"
as an exmple) and a port number (443
in this example)
boost::asio::ip::tcp::endpoint ep( boost::asio::ip::address::from_string("127.0.0.1"), 443 );
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow