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

Method Socket

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

Source from the content-addressed store, hash-verified

480 bool HasSecurityToken(int ClientId) const { return m_aSlots[ClientId].m_Connection.SecurityToken() != NET_SECURITY_TOKEN_UNSUPPORTED; }
481 NETADDR Address() const { return m_Address; }
482 NETSOCKET Socket() const { return m_Socket; }
483 CNetBan *NetBan() const { return m_pNetBan; }
484 int NetType() const { return net_socket_type(m_Socket); }
485 int MaxClients() const { return m_MaxClients; }

Callers 2

PumpNetworkMethod · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected