+ ~Nanomsg ();
+
+ 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.
+ * @return true if the send happened, false if there was a timeout.
+ */
+ bool send (std::string s, int timeout);