MCPcopy Create free account
hub / github.com/Norbyte/ositools / Run

Method Run

OsiInterface/DebugInterface.cpp:168–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 void DebugInterface::Run()
169 {
170 for (;;) {
171 sockaddr_in addr;
172 int addrlen = sizeof(addr);
173 clientSocket_ = accept(socket_, (sockaddr *)&addr, &addrlen);
174 Debug("Accepted debug connection.");
175 if (connectHandler_) {
176 connectHandler_();
177 }
178
179 MessageLoop(clientSocket_);
180 Disconnect();
181 }
182 }
183}
184
185#endif

Callers 1

DebugThreadRunnerFunction · 0.80

Calls 1

DebugFunction · 0.85

Tested by

no test coverage detected