flag.IntVar(&count, "n", 4, "要发送的回显请求数。")...flag.BoolVar(&neverstop, "t", true, "Ping 指定的主机,直到停止。")...= size
argsmap["t"] = neverstop
for _, host := range args {
go ping..., host, time.Duration(timeout*1000*1000))
ip := conn.RemoteAddr()
fmt.Println("正在 Ping...Ping 统计信息:")
fmt.Printf(" 数据包: 已发送 = %d,已接收 = %d,丢失 = %d (%d%% 丢失),\n", sendN, recvN, lostN