projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated fr_FR translation from Thierry Journet.
[dcpomatic.git]
/
src
/
lib
/
server.h
diff --git
a/src/lib/server.h
b/src/lib/server.h
index 7952275232705e8b9d4c943fc855eeadf1aba4a2..59722274ee17b186d50a34f35df91182d7fbd411 100644
(file)
--- a/
src/lib/server.h
+++ b/
src/lib/server.h
@@
-31,7
+31,7
@@
class Socket;
class Server : public boost::noncopyable
{
public:
class Server : public boost::noncopyable
{
public:
- explicit Server (int port);
+ explicit Server (int port
, int timeout = 30
);
virtual ~Server ();
virtual void run ();
virtual ~Server ();
virtual void run ();
@@
-49,6
+49,7
@@
private:
boost::asio::io_service _io_service;
boost::asio::ip::tcp::acceptor _acceptor;
boost::asio::io_service _io_service;
boost::asio::ip::tcp::acceptor _acceptor;
+ int _timeout;
};
#endif
};
#endif