MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / close_socket

Function close_socket

app/server/http.cpp:91–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 default:
90 return "Error";
91 }
92}
93
94class SocketRuntime {
95public:
96 SocketRuntime() {
97#ifdef _WIN32
98 WSADATA data;
99 const int rc = WSAStartup(MAKEWORD(2, 2), &data);
100 if (rc != 0) {
101 throw std::runtime_error("WSAStartup failed: " + std::to_string(rc));
102 }
103#endif

Callers 2

UniqueSocketClass · 0.85
~UniqueSocketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected