make udp support for radio-dish

This commit is contained in:
somdoron
2016-01-29 21:17:11 +02:00
parent a2b9d826e4
commit 5ebfd1728f
14 changed files with 744 additions and 8 deletions

View File

@@ -32,6 +32,7 @@
#include <map>
#include <string>
#include <vector>
#include "socket_base.hpp"
#include "session_base.hpp"
@@ -70,6 +71,10 @@ namespace zmq
typedef std::multimap<std::string, pipe_t*> subscriptions_t;
subscriptions_t subscriptions;
// List of udp pipes
typedef std::vector<pipe_t*> udp_pipes_t;
udp_pipes_t udp_pipes;
// Distributor of messages holding the list of outbound pipes.
dist_t dist;