資源簡介
探測網絡中在線主機個數
代碼片段和文件信息
#include?
#include?
#include?
#include?
#include?“Ip_detect.h“
#include?“Ip_func.h“
int?main(int?argc?char?*argv[])
{
static?char?*orig_argv[32];
//static?char?*orig_argv[]?=?{“Ipdetect“?“-r“??“192.168.1.1-192.168.1.4“};
//static?char?*orig_argv[]?=?{“Ipdetect“?“-h“};
Ip_List?*head?=?NULL;
Ip_List?*p?=?NULL;
int?i?=?0;
//處理傳進來的參數?argv[1]
if(argc?>?32)
????{
????????printf(“Too?many?args“);
????????exit(1);
????}
????bzero(orig_argv?sizeof(orig_argv));
????for(i?=?0;?i?????{
????????orig_argv[i]?=?estrdup(argv[i]);
????}
????if(version_check(IP_DETECT_VERSION?Ipdetct_version())?>?0)
????{
????????fprintf(stderr?“link?against?ipdetect_version?%s....“?Ipdetct_version());
????}
????for
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????172??2014-02-23?21:55??IP在線驗證2.1版\Config.h
?????文件???????2502??2014-02-24?09:25??IP在線驗證2.1版\Ipdetect.c
?????文件????????769??2014-02-23?21:59??IP在線驗證2.1版\Ip_detect.h
?????文件???????6393??2014-02-23?21:55??IP在線驗證2.1版\Ip_func.c
?????文件????????334??2014-02-20?19:14??IP在線驗證2.1版\Ip_func.h
?????文件?????105796??2014-02-25?14:02??IP在線驗證2.1版\IP在線驗證5.0.docx
?????文件??????17090??2014-02-23?22:14??IP在線驗證2.1版\Makefile
?????文件???????1136??2014-02-23?22:00??IP在線驗證2.1版\Version_check.c
?????目錄??????????0??2014-10-15?11:53??IP在線驗證2.1版
-----------?---------??----------?-----??----
???????????????134192????????????????????9
評論
共有 條評論