2023-11-03 Fred Gleason <fredg@paravelsystems.com>

* Added 'RDCoreApplication::ExitInternalError' to the
	'RDCoreApplication::ExitCode' enumeration.
	* Refactored the 'RDCae' class to use the native BSD sockets API
	instead of 'QTcpSocket'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-11-03 11:37:41 -04:00
parent 8bb5b3c9e4
commit c9953bffe2
18 changed files with 177 additions and 128 deletions

View File

@@ -132,7 +132,10 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
//
connect(rda->cae(),SIGNAL(isConnected(bool)),
this,SLOT(caeConnectedData(bool)));
rda->cae()->connectHost();
if(!rda->cae()->connectHost(&err_msg)) {
QMessageBox::warning(this,"RDLibrary - "+tr("Error"),err_msg);
exit(RDCoreApplication::ExitInternalError);
}
//
// Filter