altenatilve connection host/port not work
Brought to you by:
orenmnero
This is an obvious bug from the source code of quickfix-1.13.3, please check SocketInitiator::getHost() function as follows.
std::stringstream portStream;
std::string portString = portStream.str();
portStream << SOCKET_CONNECT_PORT << num;
The correct logic should be,
std::stringstream portStream;
portStream << SOCKET_CONNECT_PORT << num;
std::string portString = portStream.str();
İf you want to do failover mechanism in your application by using quickfix alternate socket connection host and port, above issue should be resolved. Right now failover mechanism by using quickfix alternate socket connection host and port does not work.
By the way, we try above solution and it seems worked.
This should be fixed in the next release.