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

Method stopLooping

OpenHD/ohd_common/src/openhd_udp.cpp:177–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void openhd::UDPReceiver::stopLooping() {
178 receiving = false;
179 // from
180 // https://github.com/mavlink/MAVSDK/blob/main/src/mavsdk/core/udp_connection.cpp#L102
181 shutdown(mSocket, SHUT_RDWR);
182 close(mSocket);
183}
184
185void openhd::UDPReceiver::runInBackground() {
186 if (receiverThread) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected