stopping the built in server
Added by Nezar Ab over 9 years ago
Hi,
I'm sorry for asking such a dumb question but, I just couldn't figure out how to stop the built in server after starting it. could some one tell me how to do this ?
Replies (2)
RE: stopping the built in server - Added by Wim Dumon over 9 years ago
If you use Wt's standard WRun method, it will stop when you press ctrl-C
If you want to use a different method to stop the server, you'll need to implement your own WRun. See the implementation of WRun as documented here in the Wt::WServer reference manual, and call start() and stop() as is suitable for your application.
Bet regards,
Wim.