connect( myClient[j], SIGNAL( disconnected()), this, SLOT(clientDisconnect()));
void loadServer::clientDisconnect(){}
void loadServer::clientDisconnect(){ QTcpSocket *senderSocket = qobject_cast<QTcpSocket *>(sener());}
void loadServer::clientDisconnect(){ serverClient *senderSocket = qobject_cast<serverClient *>(sender()); for (int i=0;i<maxClient;i++) // удаляем подключения if (myClient[i]==senderSocket) { delete myClient[i]; myClient[i]=0; break; }}
void QHostAddressPrivate::clear(){ a = 0; protocol = QAbstractSocket::UnknownNetworkLayerProtocol; isParsed = true; memset(&a6, 0, sizeof(a6));}
myClient[i]->deleteLater();