Boost logo

Boost :

Subject: [boost] how can I use ipv6 on boost::asio
From: Kazuaki Okimoto (kazuakio_at_[hidden])
Date: 2017-03-11 08:18:00


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk