how can I use ipv6 on boost::asio
11 Mar
2017
11 Mar
'17
8:18 a.m.
Hi I can connect through IPV4 when I open the socket by following method. _socket->open(boost::asio::ip::tcp::v4()); But , it can't use IPV6 network. I'd like to use my app on IPV6 network. How can I use IPV6 on boost:asio ? Dies anyone tell me the method of it ? best regards
11 Mar
11 Mar
11:12 a.m.
On Sat, Mar 11, 2017 at 3:18 AM, Kazuaki Okimoto via Boost
_socket->open(boost::asio::ip::tcp::v4());
But , it can't use IPV6 network. I'd like to use my app on IPV6 network.
Hmm...maybe this will help you make forward progress: _socket->open(boost::asio::ip::tcp::v6()); // 'v6' Thanks
2817
Age (days ago)
2817
Last active (days ago)
1 comments
2 participants
participants (2)
-
Kazuaki Okimoto
-
Vinnie Falco