Codechange: [Network] Make hostname/client IP return strings instead of a C-string

This commit is contained in:
rubidium42
2021-06-13 21:05:15 +02:00
committed by rubidium42
parent a91e29b656
commit 667301e3ec
5 changed files with 7 additions and 7 deletions

View File

@@ -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();