diff options
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)); |