Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ getProtocol
Method
getProtocol
src/OpenLoco/src/Network/Socket.cpp:532–536 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
530
}
531
532
Protocol getProtocol() const override
533
{
534
NetworkEndpoint endpoint(&_listeningAddress, _listeningAddressLen);
535
return endpoint.getProtocol();
536
}
537
538
std::string getIpAddress() const override
539
{
Callers
2
listen
Method · 0.45
sendData
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected