summaryrefslogtreecommitdiff
path: root/ControlServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ControlServer.cpp')
-rw-r--r--ControlServer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ControlServer.cpp b/ControlServer.cpp
index 439dc7a..c727e20 100644
--- a/ControlServer.cpp
+++ b/ControlServer.cpp
@@ -3,6 +3,11 @@
namespace plexclient
{
+ControlServer::ControlServer() {
+ m_pSvs = new Poco::Net::ServerSocket(3200);;
+ m_pSrv = new Poco::Net::HTTPServer(new PlexReqHandlerFactory, *m_pSvs, new Poco::Net::HTTPServerParams);
+}
+
void ControlServer::Start() {
// start the HTTPServer
m_pSrv->start();