diff -r b34fc518a48a -r a7e625f5d9d0 QTfrontend/netserver.cpp --- a/QTfrontend/netserver.cpp Thu Dec 13 23:07:16 2007 +0000 +++ b/QTfrontend/netserver.cpp Fri Dec 14 15:02:46 2007 +0000 @@ -23,12 +23,11 @@ #include #include -const quint16 HWNetServer::ds_port=46631; - extern char delimeter; -void HWNetServer::StartServer() +void HWNetServer::StartServer(quint16 port) { + ds_port = port; hhnum=0; IPCServer = new QTcpServer(this); if (!IPCServer->listen(QHostAddress::Any, ds_port)) {