- Timestamp:
- Jan 4, 2010, 2:07:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r2178 r2179 188 188 } 189 189 190 int port = 7777;190 int port = 0; // 7777; 191 191 192 192 if (port != 0) { … … 710 710 QTcpSocket* sock = is.next(); 711 711 if (sock->state() == QAbstractSocket::ConnectedState) { 712 // *sock << '$' << nmStr << '*' << hex << (int) XOR << endl; 713 // sock->flush(); 712 QTextStream ts(sock); 713 ts << '$' << nmStr << '*' << hex << (int) XOR << endl; 714 ts.flush(); 714 715 } 715 716 else if (sock->state() != QAbstractSocket::ConnectingState) {
Note:
See TracChangeset
for help on using the changeset viewer.