MCPcopy Create free account
hub / github.com/assaultcube/AC / requestmaster

Function requestmaster

source/src/serverms.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool requestmaster(const char *req)
73{
74 if(mastersock == ENET_SOCKET_NULL)
75 {
76 mastersock = connectmaster();
77 if(mastersock == ENET_SOCKET_NULL) return false;
78 }
79
80 masterout.put(req, strlen(req));
81 return true;
82}
83
84bool requestmasterf(const char *fmt, ...)
85{

Callers 1

requestmasterfFunction · 0.85

Calls 2

connectmasterFunction · 0.85
putMethod · 0.45

Tested by

no test coverage detected