MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / Stop

Method Stop

src/Networking/NetworkClient.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void NetworkClient::Stop(NetworkProtocol protocol, NetworkInterface *iface) noexcept
50{
51 if (HandlesProtocol(protocol) && (skt && skt->GetInterface() == iface))
52 {
53 Stop(); // allow the specific client implementation to disconnect gracefully
54 }
55}
56
57bool NetworkClient::Accept(Socket *socket, NetworkProtocol protocol) noexcept
58{

Callers 1

Network.cppFile · 0.45

Calls 2

StopFunction · 0.85
GetInterfaceMethod · 0.45

Tested by

no test coverage detected