@@ -354,12 +354,12 bool GR_ESB_Manager::connectBridge() | |||
|
354 | 354 | int timeout=60; |
|
355 | 355 | if(this->Read_soc->state()==QTcpSocket::UnconnectedState) |
|
356 | 356 | { |
|
357 |
this->Read_soc->connectToHost(IP,gresb_Conf[virtualLinkIndex]. |
|
|
357 | this->Read_soc->connectToHost(IP,gresb_Conf[virtualLinkIndex].Receive_port); | |
|
358 | 358 | this->Read_soc->waitForConnected(30000); |
|
359 | 359 | } |
|
360 | 360 | if(this->Write_soc->state()==QTcpSocket::UnconnectedState) |
|
361 | 361 | { |
|
362 |
this->Write_soc->connectToHost(IP,gresb_Conf[virtualLinkIndex]. |
|
|
362 | this->Write_soc->connectToHost(IP,gresb_Conf[virtualLinkIndex].Transmit_port); | |
|
363 | 363 | this->Write_soc->waitForConnected(30000); |
|
364 | 364 | } |
|
365 | 365 | while((this->Read_soc->state()!=QTcpSocket::ConnectedState) && (this->Write_soc->state()!=QTcpSocket::ConnectedState)) |
General Comments 0
You need to be logged in to leave comments.
Login now