Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antmachineintelligence/mtgbmcode
/ Close
Method
Close
src/network/socket_wrapper.hpp:288–297 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
286
}
287
288
inline void Close() {
289
if (!IsClosed()) {
290
#if defined(_WIN32)
291
closesocket(sockfd_);
292
#else
293
close(sockfd_);
294
#endif
295
sockfd_ = INVALID_SOCKET;
296
}
297
}
298
299
private:
300
SOCKET sockfd_;
Callers
2
Linkers
Method · 0.45
~Linkers
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected