QAbstractSocket* UdpSocketCreation::operator()() const { QUdpSocket* socket = new QUdpSocket(); socket->setSocketDescriptor(socketDescriptor); return socket; }