Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRCT2/OpenRCT2
/ GetHostName
Method
GetHostName
src/openrct2/network/Socket.cpp:634–637 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
632
}
633
634
const char* GetHostName() const override
635
{
636
return _hostName.empty() ? nullptr : _hostName.c_str();
637
}
638
639
std::string GetIpAddress() const override
640
{
Callers
2
AddClient
Method · 0.45
ServerHandleAuth
Method · 0.45
Calls
1
empty
Method · 0.45
Tested by
no test coverage detected