| 574 | |
| 575 | |
| 576 | bool 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 | |
| 586 | bool CServerConnect::IsServerIP(uint32 ip) const |
no test coverage detected