In Poco's documentation (https://pocoproject.org/docs/Poco.Util.ServerApplication.html) there is:
int main(int argc, char** argv)
{
MyServerApplication app;
return app.run(argc, argv);
}
This would imply a standalone, blocking server application. However, my use case is that I'd like to integrate a HTTP server to my already existing C++ application and it should not block the rest of the application. Can I somehow just start the Poco server in its own thread?
Aucun commentaire:
Enregistrer un commentaire