Commit ce534b6e authored by PAPADOPOULO Theodore's avatar PAPADOPOULO Theodore

Use the parameters instead of hardwiring some values.

parent 1582b8a9
......@@ -134,7 +134,7 @@ bool CBoxAlgorithmP300MagicCardVisualization::initialize()
m_idleFuncTag = 0;
m_stimuliQueue.clear();
m_stimulusSender = TCPTagging::CreateStimulusSender();
if (!m_stimulusSender->connect("localhost", "15361"))
if (!m_stimulusSender->connect(tcpTaggingHostAddress, tcpTaggingHostPort))
{
this->getLogManager() << LogLevel_Warning << "Unable to connect to AS's TCP Tagging plugin, stimuli wont be forwarded.\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment