MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / WSInit

Method WSInit

source/src/httplib/httplib.h:8647–8650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8645class WSInit {
8646public:
8647 WSInit() {
8648 WSADATA wsaData;
8649 if (WSAStartup(0x0002, &wsaData) == 0) is_valid_ = true;
8650 }
8651
8652 ~WSInit() {
8653 if (is_valid_) WSACleanup();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected