| 624 | |
| 625 | |
| 626 | CServer* CServerList::GetServerByIP(uint32 nIP) const |
| 627 | { |
| 628 | for (CInternalList::const_iterator it = m_servers.begin(); it != m_servers.end(); ++it){ |
| 629 | CServer* const s = *it; |
| 630 | if (s->GetIP() == nIP) |
| 631 | return s; |
| 632 | } |
| 633 | return NULL; |
| 634 | } |
| 635 | |
| 636 | |
| 637 | CServer* CServerList::GetServerByIPTCP(uint32 nIP, uint16 nPort) const |
no test coverage detected