[2] connect(&crypto, &QDtls::handshakeTimeout, this, &DtlsAssociation::handshakeTimeout); // 连接握手超时信号..., this, &DtlsAssociation::udpSocketConnected); // 连接套接字连接信号 return; // 返回 } if (!...- %2").arg(name, crypto.dtlsErrorString())); // 发送错误消息,提示握手错误 return; // 返回 }...connect(newConnection.data(), &DtlsAssociation::errorMessage, this, &MainWindow::addErrorMessage); // 连接错误消息信号...connect(newConnection.data(), &DtlsAssociation::serverResponse, this, &MainWindow::addServerResponse); // 连接服务器响应信号