Support UDP input. Also fix some issues with socket closing.
[cubemap] / input.h
diff --git a/input.h b/input.h
index 50cfeaa..79cfc54 100644 (file)
--- a/input.h
+++ b/input.h
@@ -21,6 +21,7 @@ public:
        virtual ~Input();
        virtual InputProto serialize() const = 0;
        virtual std::string get_url() const = 0;
+       virtual void close_socket() = 0;
 };
 
 #endif  // !defined(_INPUT_H)