| 2379 | } |
| 2380 | |
| 2381 | bool CServerBrowser::IsRegistered(const NETADDR &Addr) |
| 2382 | { |
| 2383 | const int NumServers = m_pHttp->NumServers(); |
| 2384 | for(int i = 0; i < NumServers; i++) |
| 2385 | { |
| 2386 | const CServerInfo &Info = m_pHttp->Server(i); |
| 2387 | for(int j = 0; j < Info.m_NumAddresses; j++) |
| 2388 | { |
| 2389 | if(net_addr_comp(&Info.m_aAddresses[j], &Addr) == 0) |
| 2390 | { |
| 2391 | return true; |
| 2392 | } |
| 2393 | } |
| 2394 | } |
| 2395 | return false; |
| 2396 | } |
| 2397 | |
| 2398 | int CServerInfo::EstimateLatency(int Loc1, int Loc2) |
| 2399 | { |
no test coverage detected