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

New Post: CCan't create http_listener object.

$
0
0
Hi rbkblhjy,

Looking at your code it appears you are starting the listener by calling http_listener::open() and then once it has been successfully opened you are immediately stopping the listener by calling http_listener::close(). After you call close no new requests will be accepted. Why don't you actually reply to the http_request in your get_handle function and call close at some later time?

Steve

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images

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