X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fserver.h;h=59722274ee17b186d50a34f35df91182d7fbd411;hb=9da2ff50f9f880fec6b457bfe3319fa3f892dd6a;hp=7952275232705e8b9d4c943fc855eeadf1aba4a2;hpb=334e250896a5dcbb64db96df8e20821ffc75b146;p=dcpomatic.git diff --git a/src/lib/server.h b/src/lib/server.h index 795227523..59722274e 100644 --- a/src/lib/server.h +++ b/src/lib/server.h @@ -31,7 +31,7 @@ class Socket; class Server : public boost::noncopyable { public: - explicit Server (int port); + explicit Server (int port, int timeout = 30); virtual ~Server (); virtual void run (); @@ -49,6 +49,7 @@ private: boost::asio::io_service _io_service; boost::asio::ip::tcp::acceptor _acceptor; + int _timeout; }; #endif