Codechange: [Network] Make hostname/client IP return strings instead of a C-string
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
this->SetPort(port);
|
||||
}
|
||||
|
||||
const char *GetHostname();
|
||||
const std::string &GetHostname();
|
||||
std::string GetAddressAsString(bool with_family = true);
|
||||
const sockaddr_storage *GetAddress();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user