Index: trunk/BNC/bncmodel.cpp
===================================================================
--- trunk/BNC/bncmodel.cpp	(revision 2178)
+++ trunk/BNC/bncmodel.cpp	(revision 2179)
@@ -188,5 +188,5 @@
   }
 
-  int port = 7777;
+  int port = 0; // 7777;
 
   if (port != 0) {
@@ -710,6 +710,7 @@
       QTcpSocket* sock = is.next();
       if (sock->state() == QAbstractSocket::ConnectedState) {
-//        *sock << '$' << nmStr << '*' << hex << (int) XOR << endl;
-//        sock->flush();
+        QTextStream ts(sock);
+        ts << '$' << nmStr << '*' << hex << (int) XOR << endl;
+        ts.flush();
       }
       else if (sock->state() != QAbstractSocket::ConnectingState) {
