MCPcopy Create free account
hub / github.com/ddnet/ddnet / ServerAddress

Method ServerAddress

src/engine/shared/network.h:608–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606 int NetType() const { return net_socket_type(m_Socket); }
607 int State();
608 const NETADDR *ServerAddress() const { return m_Connection.PeerAddress(); }
609 void ConnectAddresses(const NETADDR **ppAddrs, int *pNumAddrs) const { m_Connection.ConnectAddresses(ppAddrs, pNumAddrs); }
610 bool GotProblems(int64_t MaxLatency) const;
611 const char *ErrorString() const;

Callers 6

RenderPopupFullscreenMethod · 0.80
RconAuthIfPossibleMethod · 0.80
TestMapLocallyMethod · 0.80
CClientClass · 0.80
DummyConnectMethod · 0.80

Calls 1

PeerAddressMethod · 0.45

Tested by 1

TestMapLocallyMethod · 0.64