change the configuration to handle the new ZMQ-REQ-REP-protocol and the RestAPI-Update protocol

This commit is contained in:
Sven Czarnian
2021-11-21 08:53:58 +01:00
parent 0acb45dd27
commit b309e86ec6
4 changed files with 27 additions and 10 deletions

View File

@@ -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>();