public xfindip( const szIPPort[] ) { if (strfind(szIPPort,"27015") > 9) // 192.168.1.1:27015 not found!!! { return 1; } if (strfind(szIPPort,":27") > 8) // 192.168.1.1:27015 not found!!! { return 1; } return 0; }