diff options
author | senator <senator> | 2008-03-18 13:59:00 +0000 |
---|---|---|
committer | senator <senator> | 2008-03-18 13:59:00 +0000 |
commit | ecd2386b857c629c03e6a82610ba0801639a4da1 (patch) | |
tree | fbb51e13ef2581cb1f2180059b52cd8bb1525e5e | |
parent | b275f9c20d283c4d45fb08d4c306c8481d54565d (diff) |
updated socket handling to also include soecketError=0
-rw-r--r-- | client/sendrecieve.cc | 4 |
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); |