MCPcopy Create free account
hub / github.com/dfranx/SHADERed / init

Function init

libs/cppdap/src/socket.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44namespace {
45constexpr SOCKET InvalidSocket = static_cast<SOCKET>(-1);
46void init() {
47#if defined(_WIN32)
48 if (wsaInitCount++ == 0) {
49 WSADATA winsockData;
50 (void)WSAStartup(MAKEWORD(2, 2), &winsockData);
51 }
52#endif
53}
54
55void term() {
56#if defined(_WIN32)

Callers 4

createMethod · 0.85
acceptMethod · 0.85
CompilerGLSLMethod · 0.85
message_digestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected