wry->local [53] = '\0';
wry->country [15] = '\0';
wry->endip [16] = '\0';
wry->startip [16] = '\0';
do_dis(temp);
}
fclose(fp);
wsacleanup();
if(count == 0)
printf("not match found!\n");
else
{
printf("found %d match,and the best match as follows:\n",count);
printf("==========================\n");
printf("startip:%s\n",maxw[--count].startip );
printf("endip:%s\n",maxw[count].endip );
printf("country:%s\n",maxw[count].country );
printf("local:%s\n",maxw[count].local );
printf("****************************************************\n\n");
}
}
***********************************************************************************************
此程序在windows 2000 和vc6.0下编译通过,编译好的程序和代码,以及wry.dll文件可以在地址
http://blldw.myetang.com/vc/hunt.zip下载.
感谢你看到了最后!^_^.
any problem please mailto: mrh123@etang.com.
2002.7.28