| 194 | } |
| 195 | |
| 196 | void openhd::UDPReceiver::stopBackground() { |
| 197 | stopLooping(); |
| 198 | if (receiverThread && receiverThread->joinable()) { |
| 199 | receiverThread->join(); |
| 200 | } |
| 201 | receiverThread = nullptr; |
| 202 | } |
| 203 | |
| 204 | int openhd::openUdpSocketForReceiving(const std::string &address, |
| 205 | const int port) { |
no outgoing calls
no test coverage detected