MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SetupNetworking

Function SetupNetworking

src/util.cpp:1203–1213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1201}
1202
1203bool SetupNetworking()
1204{
1205#ifdef WIN32
1206 // Initialize Windows Sockets
1207 WSADATA wsadata;
1208 int ret = WSAStartup(MAKEWORD(2,2), &wsadata);
1209 if (ret != NO_ERROR || LOBYTE(wsadata.wVersion ) != 2 || HIBYTE(wsadata.wVersion) != 2)
1210 return false;
1211#endif
1212 return true;
1213}
1214
1215int GetNumCores()
1216{

Callers 4

mainFunction · 0.85
AppInitBasicSetupFunction · 0.85
BasicTestingSetupMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 2

BasicTestingSetupMethod · 0.68
mainFunction · 0.68