NetLib::SocketStream NetLib::ServerSocketStream::ListenForConnection() throw (NoConnection, CannotConnect) { if (!mSocket) throw NoConnection(); return (mSocket ->GetConnection()); }
void ServerSelector::Avvia(){ if(primaVolta){ ListGetter=new GestoreServers(this); connect(ListGetter,SIGNAL(ListaOttenuta(QString)),this,SLOT(AvviaScansione(QString))); connect(ListGetter,SIGNAL(erroreConnessione()),this,SLOT(NoConnection())); primaVolta=false; } ListGetter->OttieniLista(); }