MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getIpAddress

Method getIpAddress

src/OpenLoco/src/Network/Socket.cpp:538–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536 }
537
538 std::string getIpAddress() const override
539 {
540 NetworkEndpoint endpoint(&_listeningAddress, _listeningAddressLen);
541 return endpoint.getIpAddress();
542 }
543
544 private:
545 explicit UdpSocket(SOCKET socket, const std::string& hostName)

Callers 2

listenMethod · 0.45
connectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected