This commit is contained in:
maliakal_d committed 2021-08-16 14:30:47 +02:00
1 parent 5790e4961b
commit 5f8dc7a7f0
6 files changed
+82 -59

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ ZmqSocket::ZmqSocket(const char *const hostname_or_ip,
if (sockfd.contextDescriptor == nullptr)
throw sls::ZmqSocketError("Could not create contextDescriptor");
// create publisher
// create subscriber
sockfd.socketDescriptor = zmq_socket(sockfd.contextDescriptor, ZMQ_SUB);
if (sockfd.socketDescriptor == nullptr) {
PrintError();