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.
Steve
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