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

Method TestServer

OpenHD/ohd_common/test/test_tcp_server.cpp:29–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27class TestServer : public openhd::TCPServer {
28 public:
29 explicit TestServer()
30 : openhd::TCPServer("Test", openhd::TCPServer::Config{5760}){};
31 void on_external_device(std::string ip, int port, bool connected) override {
32 if (connected) {
33 openhd::log::get_default()->debug("Device {}:{} connected", ip, port);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected