MCPcopy Create free account
hub / github.com/amule-project/amule / IsLocalServer

Method IsLocalServer

src/ServerConnect.cpp:576–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574
575
576bool CServerConnect::IsLocalServer(uint32 dwIP, uint16 nPort)
577{
578 if (IsConnected()){
579 if (connectedsocket->cur_server->GetIP() == dwIP && connectedsocket->cur_server->GetPort() == nPort)
580 return true;
581 }
582 return false;
583}
584
585
586bool CServerConnect::IsServerIP(uint32 ip) const

Callers 2

TryToConnectMethod · 0.80
AddClientToQueueMethod · 0.80

Calls 2

GetIPMethod · 0.45
GetPortMethod · 0.45

Tested by

no test coverage detected