Changeset 126 in pacpussensors for trunk/PacpusSocket/PacpusUDPSocket.cpp
- Timestamp:
- May 20, 2016, 3:17:57 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PacpusSocket/PacpusUDPSocket.cpp
r99 r126 125 125 { 126 126 int sent=0; 127 128 LOG_INFO("component " << name() << " sent " << frame); 127 129 128 130 if (socketType_ == "client") … … 179 181 if(udpSocket_->readDatagram(datagram.data(), datagram.size(), &sender, &senderPort) != -1) 180 182 { 183 184 LOG_INFO("component " << name() << " received " << QString(datagram.data())); 185 181 186 if (socketType_ == "server") 182 187 { … … 192 197 listClients << new Client(sender, senderPort); 193 198 } 199 194 200 195 201 if (udpSocketOutput_ && udpSocketOutput_->hasConnection())
Note:
See TracChangeset
for help on using the changeset viewer.