QTfrontend/netudpserver.cpp
changeset 417 bc7fea9abd9c
parent 413 523f1769f2bc
child 468 8403d6884707
--- a/QTfrontend/netudpserver.cpp	Thu Feb 08 19:03:23 2007 +0000
+++ b/QTfrontend/netudpserver.cpp	Thu Feb 08 20:03:03 2007 +0000
@@ -25,7 +25,7 @@
     if(QString("%1").arg(datagram.data())==QString("hedgewars client")) {
       // send answer to client
       qDebug() << "received UDP query from " << clientAddr << ":" << clientPort;
-      pUdpSocket->writeDatagram("hedgewars server", clientAddr, 46632);
+      pUdpSocket->writeDatagram("hedgewars server", clientAddr, clientPort);
     }
   }
 }