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

Method Run

BG3Extender/Osiris/Debugger/DebugInterface.cpp:142–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 void SocketInterface::Run()
143 {
144 while (socket_) {
145 sockaddr_in addr;
146 int addrlen = sizeof(addr);
147 clientSocket_ = accept(socket_, (sockaddr *)&addr, &addrlen);
148 if (clientSocket_) {
149 DEBUG_LOCAL("Accepted debug connection.");
150 if (connectHandler_) {
151 connectHandler_();
152 }
153
154 MessageLoop(clientSocket_);
155 Disconnect();
156 }
157 }
158 }
159}

Callers 2

LuaDebugThreadRunnerFunction · 0.45
OsirisDebugThreadRunnerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected