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

Method Disconnect

BG3Extender/Osiris/Debugger/DebugInterface.cpp:92–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void SocketInterface::Disconnect()
93 {
94 if (!IsConnected()) return;
95
96 closesocket(clientSocket_);
97 clientSocket_ = 0;
98
99 if (disconnectHandler_) {
100 disconnectHandler_();
101 }
102 }
103
104 void SocketInterface::MessageLoop(SOCKET sock)
105 {

Callers 2

HandleIdentifyMethod · 0.80
HandleConnectMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected