4 // A single UDP destination. This is done a lot less efficient than HTTP streaming
5 // since we expect to have so few of them, which also means things are a lot simpler.
6 // In particular, we run in the input's thread, so there is no backlog, which means
7 // that there is no state (UDP itself is, of course, stateless).
10 #include <netinet/in.h>
13 #include <sys/types.h>
19 UDPStream(const sockaddr_in6 &dst, uint32_t pacing_rate, int ttl, int multicast_iface_index);
22 void send(const char *data, size_t bytes);
25 UDPStream(const UDPStream& other);
31 #endif // !defined(_UDPSTREAM_H)