When emailing multiple addresses, put one in To: and the rest in CC: (#2310).
[dcpomatic.git] / src / lib / nanomsg.h
index e3e917c4b67f8d625a6c28b51454b1afbba2f1af..8d89d6d99fee05b641ed5213d83d9145f42d4b32 100644 (file)
@@ -28,9 +28,10 @@ class Nanomsg
 {
 public:
        explicit Nanomsg (bool server);
+       ~Nanomsg ();
 
-       NanoMsg (Nanomsg const&) = delete;
-       NanoMsg& operator= (Nanomsg const&) = delete;
+       Nanomsg (Nanomsg const&) = delete;
+       Nanomsg& operator= (Nanomsg const&) = delete;
 
        /** Try to send a message, waiting for some timeout before giving up.
         *  @param timeout Timeout in milliseconds, or -1 for infinite timeout.
@@ -49,6 +50,7 @@ private:
        void recv_and_parse (int flags);
 
        int _socket;
+       int _endpoint;
        std::list<std::string> _pending;
        std::string _current;
 };