ping

Why i'm getting PingException?

我是研究僧i 提交于 2020-01-03 08:32:27
问题 It was all working an hour ago and many days ago. The link i try to ping is: Link to ping This is the code in form1: nc = new NetworkConnection(); bool bval = nc.PingConnection(satellite_address); if (bval) { label19.Visible = true; label19.Text = "Internet Access"; } else { label19.Visible = true; label19.Text = "No Internet Access"; } When it's trying to execute this line: bool bval = nc.PingConnection(satellite_address); It's going to the nc class: using System; using System.Collections

Why i'm getting PingException?

纵然是瞬间 提交于 2020-01-03 08:32:09
问题 It was all working an hour ago and many days ago. The link i try to ping is: Link to ping This is the code in form1: nc = new NetworkConnection(); bool bval = nc.PingConnection(satellite_address); if (bval) { label19.Visible = true; label19.Text = "Internet Access"; } else { label19.Visible = true; label19.Text = "No Internet Access"; } When it's trying to execute this line: bool bval = nc.PingConnection(satellite_address); It's going to the nc class: using System; using System.Collections

Bandwidth from Latency

橙三吉。 提交于 2020-01-03 04:55:10
问题 DUPE: How to programmatically check Internet bandwidth in VC++? Can we find the bandwidth from the latency of ping .If yes how is it done 回答1: There is however a technique called packet pair probing. You send to packets one immediately after the other. In theory, the less bandwidth available, the more they will spread away in arrival time. 回答2: No, generally speaking there not much of relation. See Wiki: Comparison of latency and throughput. Never underestimate the bandwidth of a station

Heroku - keeping a dyno alive (May 2013)

最后都变了- 提交于 2020-01-02 23:03:11
问题 Until now I used for this task the service called Pingdom, but yesterday I tried to sign up for a new application, but there is not the free plan anymore? Anyway, I took a look for an alternative and I found New Relic could do this as well, but there is (in my eyes) one issue - we can set up an URL which we would like to ping, but this URL is pinged periodically each 30 seconds (and each 15 seconds if was detected an error). Cannot this approach "overload" my app? There is also a way to set

How to tell if a webpage exists?

别来无恙 提交于 2020-01-02 13:27:11
问题 Just for fun, I'm writing a Perl program to check if a given website exists. For my purposes, a website exists if I can go into my browser, punch in the url and get a meaningful webpage (meaning not an error or "failed to open page" message). What would be the best way to go about doing this? Eventually I would like to be able to give my program a list of hundreds of urls. I'm thinking about just pinging each of the urls on my list to see if they exist; however, I don't really know too much

what is deep_ping [closed]

て烟熏妆下的殇ゞ 提交于 2020-01-02 05:46:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I am not sure if this is the correct forum to ask this but i am not sure where to ask either. So here is my question: what does "deep ping" mean. I tried google but still did not get any information about it. Also who does deep ping mean in web servlet`s context. Thanks. 回答1: I'm not sure it's the "official

Batch Script - Ping Address - Write to file if failure

余生长醉 提交于 2020-01-01 18:59:14
问题 I want to ping an IP address every 5 seconds. If the ping fails, write the date and time to a file. Here is my non-working attempt... the loop works as intended, but I can't get it to write to a file if the ping fails. @ECHO OFF set IPADDRESS=172.30.1.36 set INTERVAL=5 :PINGINTERVAL ping %IPADDRESS% -n 1 if errorlevel 1 echo %date% %time% >> failurelog.txt timeout %INTERVAL% GOTO PINGINTERVAL 回答1: In ipv4, ping command only raises errorlevel if there are packets lost. But in you are pinging a

Proxy for command line utilities in Win XP

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-01 18:18:46
问题 How do I get command line utilities like ping to use the default proxy in Windows XP. proxycfg -u sets the proxy to the default (IE) proxy alright, but it doesn't seem to be working. Update : I am behind a proxy and would like a way to check if a site is up or not hence trying to use ping! Also would like a way to telnet (without using Putty) to a specific site and port to check connectivity. 回答1: A proxy is usually used for web (HTTP) traffic, ping uses ICMP, which is a completely separate

How do I ping from Flex - AIR?

霸气de小男生 提交于 2020-01-01 10:53:17
问题 I'm bored cause my development server is down and I'm running the command prompt to ping the server indefinitely so that I'll see when they stop timing out and know that I can work again. In the meantime I wanted to make an Air app that will do this for me, so I can have it chirp or alarm or do something when it starts to be able to connect to the server. So I need to start with having AIR do the ping, does anyone know how to do this? I can't find any help on it. I can't use the HTTPService

Force android to send UDP packets immediately?

前提是你 提交于 2020-01-01 04:48:06
问题 I am experimenting with connecting my Galaxy Ace to my laptop via WiFi. Both devices are connected to a router via WiFi, and both sides use Java. After a TCP connection gave me very high pings from time to time, I decided to base the connection on UDP, to be able to control when the packets are actually sent. However, it seems like Android still buffers UDP packets and does not send them immediately. This, or it shuts down WiFi completely, if there is no outgoing data transmitted for some