pingID̶Ϊ0x7777ںͨʶ

const struct option long_options[] =
{

{"ipv4",             no_argument, NULL, '4'},
//{"ipv6",             no_argument, NULL, '6'},
{"size",       required_argument, NULL, 'l'}, // icmp dataֵĳ, Ĭ800
{"pingcount",  required_argument, NULL, 'c'}, // pingĴĬ100
{"itemcount",  required_argument, NULL, 'n'}, // ¼ʱڵӡ쳣˳Ĭ20
{"timeout",    required_argument, NULL, 'w'}, // ÿpingȴreplyʱ䣬Ĭ4s
{"interval",   required_argument, NULL, 'i'}, // pingļreply 1sһûreply 4sһ
{"unstopped",        no_argument, NULL, 't'}, // 100Σͣ


{0, 0, 0, 0}
};