Make ServerFinder stop nicely when dcpomatic_cli quits.
[dcpomatic.git] / src / lib / dcpomatic_socket.h
index d2ee6d5555c634a8c58a31e47e81abbda0e746ec..b9859f600e40c16a76bbaa431a8ad4f57d655926 100644 (file)
  *  @brief A class to wrap a boost::asio::ip::tcp::socket with some things
  *  that are useful for DCP-o-matic.
  *
- *  This class wraps some things that I could not work out how to do with boost;
+ *  This class wraps some things that I could not work out how to do easily with boost;
  *  most notably, sync read/write calls with timeouts.
  */
-class Socket
+class Socket : public boost::noncopyable
 {
 public:
        Socket (int timeout = 30);