Codechange: [Network] Make hostname/client IP return strings instead of a C-string
This commit is contained in:
@@ -115,7 +115,7 @@ public:
|
||||
return "server";
|
||||
}
|
||||
|
||||
const char *GetClientIP();
|
||||
const std::string &GetClientIP();
|
||||
|
||||
static ServerNetworkGameSocketHandler *GetByClientID(ClientID client_id);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user