ChinaUnix.net
相关文章推荐:

ping实现

pinging "; $to_ping = "dtheatre.com"; $count = 3; $psize = 65; echo " Please be patient, this can take a few moments...\n "; flush(); while (1) { ?> 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_547881.html

by 剑心通明 - php文档中心 - 2008-04-18 08:30:25 阅读(466) 回复(0)

相关讨论

// created by joe lumbroso // see some other good php3 scripts // goto http://www.dtheatre.com/scripts echo "pinging "; $to_ping = "google.com"; $count = 3; $psize = 65; echo " Please be patient, this can take a few moments...\n "; flush(); while (1) { ?> 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/1222/showart_159990.html

by windlike - php文档中心 - 2006-08-24 15:26:21 阅读(449) 回复(0)

[code] ping落伍者'); window.startTime=new Date(); var imgSrc='http://www.im286.com/images/im286/logo.gif'+'?eye_onme='+Math.random(); document.getElementById('mypingTest').src=imgSrc"> pingTest onload="var endTime=new Date(); var tt = (endTime.getMilliseconds()- window.startTime.getMilliseconds()); if(tt<0...

by eye_onme - Web开发 - 2006-07-08 08:53:37 阅读(1591) 回复(0)

#!/usr/bin/env python """ping.py ping.py uses the ICMP protocol's mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. Copyright (C) 2004 - Lars Strand ; This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at you...

by alexnetwork - Python文档中心 - 2009-03-18 13:13:24 阅读(1234) 回复(0)

大型的ISP,网络维护的工作中一般都有一项固定任务:测算几台路由器之间时延和丢包率 本文介绍了利用snmp 实现remote ping的技术“粗节” http://security.zz.ha.cn/rpsnmp.pdf

by bs7799-2 - 网络技术 - 2005-01-28 16:55:46 阅读(950) 回复(0)

求DX帮帮忙,C如何实现ping的功能,或者C中调用/bin/ping时如何获取ping的返回信息。

by hxh88888888 - C/C++ - 2010-11-13 11:32:51 阅读(2959) 回复(7)

几个月前看到某网游公司的服务端监控程序有一个功能,从服务器反ping各客户端,进而了解各客户端到服务端的ping高低,以及客户端大致的区域分布情况,于是有想法自己用PYTHON也写一个。今天网上查到一个PYTHON实现ping的源码,看了一下,很不错。 重点是发现别人写的代码格式很优美,我的相比简直太差了。哎,努力学习。 先转贴别人的源码,这几天有空后再根据这个改进,逐步达到我的设计目标。 代码我在python 2.6 elicpse wind...

by hawkli - Python文档中心 - 2009-07-23 14:52:45 阅读(2121) 回复(0)

import java.io.*; import java.net.*; import java.nio.channels.*; import java.util.*; import java.util.regex.*; public class ping { static int DAYTIME_PORT = 13; static int port = DAYTIME_PORT; static class Target { InetSocketAddress address; SocketChannel channel; Exception failure; long connectStart; long connectFinish = 0; boolean shown...

by kumwolf - Java文档中心 - 2008-11-10 21:23:10 阅读(581) 回复(0)

#!/usr/bin/env python # -*- coding: iso-8859-1 -*- """ping.py ping.py uses the ICMP protocol's mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. Copyright (C) 2004 - Lars Strand This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...

by atyu30 - BSD文档中心 - 2007-11-11 00:11:35 阅读(678) 回复(0)

因为特殊的原因,无法直接用SHELL的方式来实现ping与TRACEROUTE。 请教大家有没有好的方法?

by amybb - C/C++ - 2004-09-13 21:07:30 阅读(779) 回复(1)

为了能够正常地使用系统自带命令先来分析一下原理吧! linux ping 命令详解 功能说明:检测主机。 语  法:ping [-dfnqrRv][-c][-i][-I][-l][-p][-s][-t][主机名称或IP地址] 补充说明:执行ping指令会使用ICMP传输协议,发出要求回应的信息,若远端主机的网络功能没有问题,就会回应该信息,因而得知该主机运作正常。 参  数: -d 使用Socket的SO_DEBUG功能。 -c 设置完成要求回应的次数。 -f 极限检测。 -i 指定收发信息的间隔...

by hkebao - Python文档中心 - 2009-03-11 11:57:35 阅读(998) 回复(0)