change the configuration to handle the new ZMQ-REQ-REP-protocol and the RestAPI-Update protocol
This commit is contained in:
@@ -37,7 +37,7 @@ bool Backend::initialize(const Communication& configuration) {
|
||||
|
||||
/* connect to the server */
|
||||
try {
|
||||
this->m_socket->connect("tcp://" + configuration.address + ":" + std::to_string(configuration.portReporter));
|
||||
this->m_socket->connect("tcp://" + configuration.address + ":" + std::to_string(configuration.portBackend));
|
||||
}
|
||||
catch (zmq::error_t&) {
|
||||
this->m_socket = std::unique_ptr<zmq::socket_t>();
|
||||
|
||||
Reference in New Issue
Block a user