MCPcopy Create free account
hub / github.com/attermann/microReticulum / stop

Method stop

examples/common/udp_interface/UDPInterface.cpp:196–206  ·  view source on GitHub ↗

virtual*/

Source from the content-addressed store, hash-verified

194}
195
196/*virtual*/ void UDPInterface::stop() {
197#ifdef ARDUINO
198#else
199 if (_socket > -1) {
200 close(_socket);
201 _socket = -1;
202 }
203#endif
204
205 _online = false;
206}
207
208/*virtual*/ void UDPInterface::loop() {
209

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected