MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / findPendingConnection

Method findPendingConnection

Engine/source/sim/netInterface.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76NetConnection *NetInterface::findPendingConnection(const NetAddress *address, U32 connectSequence)
77{
78 for(U32 i = 0; i < mPendingConnections.size(); i++)
79 if(Net::compareAddresses(address, mPendingConnections[i]->getNetAddress()) &&
80 connectSequence == mPendingConnections[i]->getSequence())
81 return mPendingConnections[i];
82 return NULL;
83}
84
85void NetInterface::processPacketReceiveEvent(NetAddress srcAddress, RawData packetData)
86{

Callers

nothing calls this directly

Calls 3

getNetAddressMethod · 0.80
sizeMethod · 0.45
getSequenceMethod · 0.45

Tested by

no test coverage detected