diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-05 16:19:36 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-05 16:19:36 +0100 |
commit | b4484f4bf653b2a52afd5d0c70daecc1ad498cd2 (patch) | |
tree | 93dda4101a52c4a1a70ad1bac52d7ac161603431 /src/dabInputZmq.cpp | |
parent | e5ff24157af141fce8e5487d53ceb4ca597c10f6 (diff) | |
download | dabmux-b4484f4bf653b2a52afd5d0c70daecc1ad498cd2.tar.gz dabmux-b4484f4bf653b2a52afd5d0c70daecc1ad498cd2.tar.bz2 dabmux-b4484f4bf653b2a52afd5d0c70daecc1ad498cd2.zip |
invert ZMQ input direction (encoders connect to mux)
Diffstat (limited to 'src/dabInputZmq.cpp')
-rw-r--r-- | src/dabInputZmq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dabInputZmq.cpp b/src/dabInputZmq.cpp index 13b812e..dd25806 100644 --- a/src/dabInputZmq.cpp +++ b/src/dabInputZmq.cpp @@ -97,7 +97,7 @@ int dabInputZmqOpen(void* args, const char* inputUri) dabInputZmqData* input = (dabInputZmqData*)args; std::string uri = "tcp://" + std::string(inputUri); - int connect_error = zmq_connect(input->zmq_sock, uri.c_str()); + int connect_error = zmq_bind(input->zmq_sock, uri.c_str()); if (connect_error < 0) { etiLog.print(TcpLog::ERR, "Failed to connect socket to uri '%s': %s\n", uri.c_str(), zmq_strerror(errno)); |