summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorsenator <senator>2008-03-18 13:59:00 +0000
committersenator <senator>2008-03-18 13:59:00 +0000
commitecd2386b857c629c03e6a82610ba0801639a4da1 (patch)
treefbb51e13ef2581cb1f2180059b52cd8bb1525e5e /client
parentb275f9c20d283c4d45fb08d4c306c8481d54565d (diff)
updated socket handling to also include soecketError=0
Diffstat (limited to 'client')
-rw-r--r--client/sendrecieve.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/sendrecieve.cc b/client/sendrecieve.cc
index 8d6caf4..25a50d0 100644
--- a/client/sendrecieve.cc
+++ b/client/sendrecieve.cc
@@ -126,6 +126,10 @@ void SendRecieve::myError(QAbstractSocket::SocketError socketError) // slot
tcpConnected = TCP_ERROR;
printf("socket_error: %d\n", socketError);
switch (socketError) {
+ case 0 :
+ QMessageBox::information(NULL, tr("Pracro"), tr("Couldn't connect to server.\nPlease contact a system administrator to resolve the problem."));
+ exit(1);
+ break;
case 2 :
QMessageBox::information(NULL, tr("Pracro"), tr("Couldn't connect to server.\nPlease contact a system administrator to resolve the problem."));
exit(1);