MCPcopy Create free account
hub / github.com/ddnet/ddnet / net_init

Function net_init

src/base/net.cpp:630–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630void net_init()
631{
632#if defined(CONF_FAMILY_WINDOWS)
633 WSADATA wsa_data;
634 dbg_assert(WSAStartup(MAKEWORD(1, 1), &wsa_data) == 0, "WSAStartup failure");
635#endif
636#if defined(CONF_WEBSOCKETS)
637 websocket_init();
638#endif
639}
640
641int net_errno()
642{

Callers 4

mainFunction · 0.85
mainFunction · 0.85
CEngineMethod · 0.85
mainFunction · 0.85

Calls 1

websocket_initFunction · 0.85

Tested by 1

mainFunction · 0.68