# HG changeset patch # User Jeandet Alexis # Date 2015-10-01 15:36:45 # Node ID 00101d96643675c4a495ca0043f9bde0c462359a # Parent 597f74f8955c79595e17782180baea8373b9fe6e Sync diff --git a/spwplugin/GR-ESB/gr_esb_bridge.cpp b/spwplugin/GR-ESB/gr_esb_bridge.cpp --- a/spwplugin/GR-ESB/gr_esb_bridge.cpp +++ b/spwplugin/GR-ESB/gr_esb_bridge.cpp @@ -354,12 +354,12 @@ bool GR_ESB_Manager::connectBridge() int timeout=60; if(this->Read_soc->state()==QTcpSocket::UnconnectedState) { - this->Read_soc->connectToHost(IP,gresb_Conf[virtualLinkIndex].Write_port); + this->Read_soc->connectToHost(IP,gresb_Conf[virtualLinkIndex].Receive_port); this->Read_soc->waitForConnected(30000); } if(this->Write_soc->state()==QTcpSocket::UnconnectedState) { - this->Write_soc->connectToHost(IP,gresb_Conf[virtualLinkIndex].Read_port); + this->Write_soc->connectToHost(IP,gresb_Conf[virtualLinkIndex].Transmit_port); this->Write_soc->waitForConnected(30000); } while((this->Read_soc->state()!=QTcpSocket::ConnectedState) && (this->Write_soc->state()!=QTcpSocket::ConnectedState))