MCPcopy Create free account
hub / github.com/cppla/ServerStatus / net_init

Function net_init

server/src/system.c:1290–1300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1288}
1289
1290int net_init()
1291{
1292#if defined(CONF_FAMILY_WINDOWS)
1293 WSADATA wsaData;
1294 int err = WSAStartup(MAKEWORD(1, 1), &wsaData);
1295 dbg_assert(err == 0, "network initialization failed.");
1296 return err==0?0:1;
1297#endif
1298
1299 return 0;
1300}
1301
1302int fs_listdir(const char *dir, FS_LISTDIR_CALLBACK cb, int type, void *user)
1303{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected