MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / stopBackground

Method stopBackground

OpenHD/ohd_common/src/openhd_udp.cpp:196–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

~EthernetLinkMethod · 0.80
~UDPEndpointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected