Changeset 1412 in ntrip
- Timestamp:
- Dec 31, 2008, 12:57:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncnetqueryrtp.cpp
r1411 r1412 27 27 //////////////////////////////////////////////////////////////////////////// 28 28 bncNetQueryRtp::bncNetQueryRtp() { 29 _socket = 0; 29 _socket = 0; 30 _udpSocket = 0; 30 31 } 31 32 … … 34 35 bncNetQueryRtp::~bncNetQueryRtp() { 35 36 delete _socket; 37 delete _udpSocket; 36 38 } 37 39 … … 99 101 100 102 QByteArray clientPort = "7777"; // TODO: make it an option 103 delete _udpSocket; 104 _udpSocket = new QUdpSocket(); 105 _udpSocket->bind(clientPort.toInt()); 101 106 102 107 QByteArray reqStr; … … 135 140 _socket->write(reqStr, reqStr.length()); 136 141 137 cout << reqStr.data();138 139 142 // Read Server Answer 2 140 143 // --------------------
Note:
See TracChangeset
for help on using the changeset viewer.