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