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

Function SetupNetworking

src/util.cpp:778–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776}
777
778bool SetupNetworking()
779{
780#ifdef WIN32
781 // Initialize Windows Sockets
782 WSADATA wsadata;
783 int ret = WSAStartup(MAKEWORD(2,2), &wsadata);
784 if (ret != NO_ERROR || LOBYTE(wsadata.wVersion ) != 2 || HIBYTE(wsadata.wVersion) != 2)
785 return false;
786#endif
787 return true;
788}
789
790void SetThreadPriority(int nPriority)
791{

Callers 2

mainFunction · 0.85
AppInit2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected