MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / CBlockingSocket

Method CBlockingSocket

deps/FtpClient/BlockingSocket.cpp:74–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74CBlockingSocket::CBlockingSocket() :
75 m_hSocket(INVALID_SOCKET)
76{
77#ifdef WIN32
78 // Initialize the Winsock dll version 2.0
79 WSADATA wsaData = {0};
80 VERIFY( WSAStartup(MAKEWORD(2,0), &wsaData)==0 );
81 VERIFY( LOBYTE(wsaData.wVersion)==2 && HIBYTE(wsaData.wVersion)==0 );
82#endif
83}
84
85CBlockingSocket::~CBlockingSocket()
86{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected