MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / getDistantAddress

Method getDistantAddress

engine/Poseidon/Network/Legacy/NetChannel.cpp:407–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407void NetChannelBasic::getDistantAddress(struct sockaddr_in& distant) const
408{
409 distant = dist;
410}
411
412void NetChannelBasic::processData(MsgHeader* hdr, const struct sockaddr_in& distant)
413// Process the given incoming data.

Callers 7

InitMethod · 0.80
finishDestroyPlayerMethod · 0.80
GetPlayerHostIPMethod · 0.80
THREAD_PROC_MODE udpSendFunction · 0.80
channelKeyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected