Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Problem with Casablanca SDK

$
0
0
Hi maverick786us,

What does the exception message say? You still are not checking it. By the way you also aren't catching the http_exception type that is being thrown. It could contain additional information.
    try
    {
        listener.open().wait();
        fgetc(stdin);
        listener.close().wait();
    }
    catch(const http_exception &e)
    {
        const auto &msg = e.what();
        const auto &error_code = e.error_code();
    }
Check these fields for more information.

Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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