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

Method set_connect_timeout

src/common/WinInet.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void GlobalHandle::set_connect_timeout(DWORD ms) {
41 InternetSetOption(m_handle.get(), INTERNET_OPTION_CONNECT_TIMEOUT, &ms, sizeof(DWORD));
42}
43
44void GlobalHandle::set_send_timeout(DWORD ms) {
45 InternetSetOption(m_handle.get(), INTERNET_OPTION_SEND_TIMEOUT, &ms, sizeof(DWORD));

Callers 1

create_global_handleMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected