Quantcast
Viewing latest article 19
Browse Latest Browse All 4845

New Post: How to listen on an IPv6 address using cpprestsdk http_listener?

I passed an url string
http://2001:420:589a:2009::101/ 
to the constructor of http_listener and then called http_listener.open().wait(), unfortunately I got an exception saying
resolve: Service not found
I also tried
http://[2001:420:589a:2009::101]/
but got another exception
provided uri is invalid: http://[2001:420:589a:2009::101]/ 
Seems web::uri does not support ipv6 address with square brackets format yet.

I'm wondering how to listen on an IPv6 address using http_listener correctly. Any one help?

I'm using cpprestsdk v2.9.1 under linux.

Viewing latest article 19
Browse Latest Browse All 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>