| 47 | } |
| 48 | |
| 49 | void 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 | |
| 57 | bool NetworkClient::Accept(Socket *socket, NetworkProtocol protocol) noexcept |
| 58 | { |
no test coverage detected