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

Method PeerAddress

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

Source from the content-addressed store, hash-verified

313 void SignalResend();
314 EState State() const { return m_State; }
315 const NETADDR *PeerAddress() const { return &m_PeerAddr; }
316 const std::array<char, NETADDR_MAXSTRSIZE> &PeerAddressString(bool IncludePort) const
317 {
318 return IncludePort ? m_aPeerAddrStr : m_aPeerAddrStrNoPort;

Callers 6

AcceptClientMethod · 0.45
ClientAddrMethod · 0.45
ClientAddrMethod · 0.45
ServerAddressMethod · 0.45
NumClientsWithAddrMethod · 0.45
GetClientSlotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected