ping

isReachable in Java doesn't appear to be working quite the way it's supposed to

I'm using Clojure, but I can read Java, so this isn't a Clojure specific question. This doesn't even seem to be working from Java. I'm trying to implement a bit of a 'ping' function using isReachable. The code I'm using is this: (.isReachable (java.net.InetAddress/getByName "www.microsoft.com") 5000) Translated to Java by a good frie...

Android Service - Ping URL

How can I use Android Service to do a ping callback? I need to open a webpage on a button click, but in the background, go ping another url for stats collection. Code snippets will be greatly helpful Thanks Chris ...

How to "ping" a domain name?

Hi, In Code i want to validate a domain name. For example : " DomainName.com". How can i do that in C#. I worked on MSDN Solution. (Second Solution). But "PingCompletedCallback" is not getting executed. Thanx ...

PHP function problem

Hello, i have this little script, which should ping the IPs in the $hosts_to_ping array. This PHP is called with JS in the index.html. But something is wrong, because the $rval is always 1 (which mean the host is unreachable). But i know that the first two host is alive. So I print the $res variable, and i see the message: Need to gi...

How to measure ping latency in flash/red5 mediaserver

Only thing I found is QoS statistic in NetConnection.info, but it does not contain any kind of latency values. In red5 API "IConnection.getLastPingTime()" exists, is it accessible over standard Flex API or I need to poll it by RMI calls? ...

Implementing ICMP ping in Go

Is it possible to implement an ICMP ping in Go? The alternative is to fork a 'ping' process, but I'd rather write it in Go. ...

Pinging servers in Python

In Python, is there a way to ping a server through ICMP and return TRUE if the server responds, or FALSE if there is no response? ...

focus not going to another button in android

Hi, I wrote a code for pinging of given URL.It works fine for me.But whenever i clicked on the start ping button, pinging started but that time focus always is on start button and no widget of the screen working that time. After pressing many times it will gives the force close error.If iam giving URL which is not pinging then that time...

How to check if ping responded or not in a batch file

I want to continuously ping a server and see a message box when ever it responds i.e. server is currently down. I want to do it through batch file. I can show a message box as said here http://stackoverflow.com/questions/774175/how-can-i-open-a-message-box-in-a-windows-batch-file/774253#774253 and can ping continuously by ping <serve...

How to get my client to ping server?

Hello, I'm trying to figure a way where my clients can ping my server via php, and then retrieve the results into format like this "15 MS". I ended up finding a way where servers can ping servers. However I want to be able to have the remote user somehow ping the server, or maybe have the server ping the client possibly? function trac...

Should I ping mysql server before each query?

So I was wondering whether I should or should not ping the mysql server (mysqli_ping) to ensure that the server is always alive before running query? ...

Browser timing out Javascript recursive function, how to solve ?

Hi, I had to develop a newsletter manager with JS + PHP + MYSQL and I would like to know a few things on browser timing out the JS functions. If I'm running a recursive function that delays a call to itself (while PHP returns a list of email), how can I be sure that the browser wont timeout this JS function ? I'm asking this, because ...

VB6/IRC PING & PONG Problem

I am not able to PONG back the PING to IRC, which sends back a "You must register first" error, here is the code I'm using: Private Sub wsConnect_DataArrival(ByVal bytesTotal As Long) Dim strData As String wsConnect.GetData strData If InStr(strData, "PING") <> 0 Then MsgBox ("Success!") 'Check it's receiving it. ...

C# Pinging particular ports and proxy credentials

Heya guys I have 2 questions for you. Im creating an Application for Chat that relies on Jabber, witch is my server is port 5222 for the server side of things. Port Ping How can I ping a server via Port 5222 and check to see if its open and responding. Something like Ping.Once(Settings.Defualt.ChatServerDomain,Settings.Defualt.Chat...

Best way of determining a remote computer has booted and running

Hello, I am writing a test application which is controlling another computer. The test computer is started by sending a command string via the RS-232 port (from a control computer running Windows XP SP2 using a C# application), at which time the test computer will power-on and boot into Windows XP. I would like to know what would be t...

Measuring HTTP response time/ping accurately through client-side Javascript

I'm attempting to estimate the round-trip time from the client to some web server (not the same domain the initial page was from) using Javascript running in the browser on the client side. Essentially, I'm looking to collect ping estimates to a variety of servers not under my control from the perspective of a number of clients, without...

Website Access Test From China

To all the Chinese members of StackOverflow, a quick request. I'm performing a series of tests on a university website and want to ascertain if it can be accessed from all parts of China. So far, sites like JustPing have reported success from major cities like Shanghai, Beijing etc. I'd still like to go ahead and get a report from the av...

PING error code 87: what is it?

When I ping from windows CE I got ping error: PING: transmit failed, error code 87 But only some IPs can be successfully pinged. What does this mean, the 87 error? ...

send ping after post something (for blogs)

Hello. I want to send some pings after post something to my blog. As you know wordpress use this method. I coded my own blog system and I want to send pings some web address. For example I want to request this link. www.google.com/webmasters/tools/ping?sitemap=http://www.domain.com/sitemap.ashx http://pingomatic.com/ping/?title=y&amp;b...

C# Async Ping: How to avoid an out of memory exception ?

Question: I want to search the subnet for all computers in it. So I send a ping to all IP addresses in the subnet. The problem is it works fine if I only scan 192.168.0.". But if I scan 192.168..*", then I get an "Out of memory" exception. Why ? Do I have to limit the threads, or is the problem the memory consumed by new ping which do...