ping

any way to "ping" a phone number?

We have a customer who wants to go through their CRM database and somehow determine phone numbers which are valid, without actually having someone sit there and try calling them all. Is there any way to do something akin to a "ping" on a phone number (including landlines)? ...

How to test a internet connection in bash?

How to test an internet connection without pinging to some website? I mean what if there are connection, but site is down, how to check that there is connection with world? ...

Unable to contact IP driver, error code 5 ... vista

When I try to do on my Vista Laptop with wireless network adapter the C:\Users\Guest>ping 127.0.0.1 I get: Unable to contact IP driver, error code 5, any ideas ? ...

What's the best way to get the data I want from Twitter?

I'm currently saving some Twitter data in MySQL. My host only lets me run cron jobs every hour, so to semi-simulate realtime results, I've copied the same file 6 times, and run one every 10 minutes (the host DOES let you control the hourly offset). This is stupid, I think. Is there some mechanism I can learn about that would push the da...

running ping with Qprocess, exit code always 2 if host reachable or not

Hi, i am using Qprocess to execute ping to check for a host to be online or not... The problem is that the exit code that i recieve from the Qprocess->finished signal is always 2 no matter if i ping a reachable host or an unreachable one.. I am continuously pinging in a QTimer to a host(whose one folder i have mounted at client where ...

Check WCF Service without creating client proxy

I want to test whether wcf endpoint is reachable or not. Only available data is URI address to the service. Can I connect to service to check whether it exist without creating the Client Proxy of service? I want to do programmatically bool EndpointReachable(UriAddress) Also service can be net tcp ...

How can I perform a ping or traceroute using native python?

I would like to be able to perform a ping and traceroute from within Python without having to execute the corresponding shell commands so I'd prefer a native python solution. ...

How can I perform a ping or traceroute in python, accessing the output as it is produced?

Earlier, I asked this question: How can I perform a ping or traceroute using native python? However because python is not running as root it doens't have the ability to open the raw ICMP sockets needed to perform the ping/traceroute in native python. This brings me back to using the system's ping/traceroute shell commands. This quest...

RSS: Does it push signals out indicating new content?

Quick question: When I'm in Google Reader, it will flash and pop up a new number of unread items indicating that a new article has just been published (typically <1 minute after the blog's "published date"). Does Google just constantly ping every blog I'm subscribed to, or does the RSS standard have some sort of "signal" that it puts ou...

python non-privileged ICMP

While trying to figure out the best method to ping (ICMP) something from python, I came across these questions: How can I perform a ping or traceroute in python, accessing the output as it is produced? ping a site in python How can I perform a ping or traceroute using native python? The answers generally boil down to "use this third ...

Ping site and return result in PHP

I'd like to create a small IF procedure that will check if Twitter is available (unlike now, for example), and will return true or false. Help :) ...

Ping servers and check the result from C program?

Hi This is My last question. Now my new requirement is to ping some set of servers and check if they are replying or not. I am trying my way of system("ping xxx.xx.xx.xx >out.txt"); And then parsing the out.txt for a string "Request timed out.". This is yielding me good results. But is there any better way to do from c program. Non p...

Making a "ping" inside of my C# application.

I need my application to ping an address I'll specify later on and just simply copy the Average Ping Time to a .Text of a Label. Any help? EDIT: I found the solution in case anyone is interested: Ping pingClass = new Ping(); PingReply pingReply = pingClass.Send("logon.chronic-domination.com"); label4.Text = (pingReply.Roundtr...

Leave only two decimal places after the dot.

public void LoadAveragePingTime() { try { PingReply pingReply = pingClass.Send("logon.chronic-domination.com"); double AveragePing = (pingReply.RoundtripTime / 1.75); label4.Text = (AveragePing.ToString() + "ms"); } catch (Exception) { ...

Why is this running like it isn't threaded?

I'm writing a script that will ping my ip range. Here's what I have so far: lines = `ipconfig`.split("\n") thr = [] ip_line = lines.detect { |l| l=~/Ip Address/i } matcher = /\d+\.\d+\.\d+\.\d+/.match(ip_line) if matcher.length > 0 address = matcher[0] address.sub!(/\.\d+$/,"") (1 .. 254).each do |i| xaddr = address + "...

Is there a simple app for pinging a list of websites?

Basically, I just need a simple app that frequently pings external IP Addresses and web addresses to make sure the sites are up. Does anyone know of a good one of these? I started to make one myself, but wanted to know if someone else has already done the work. It just needs to track multiple external addresses with the status codes r...

disabling windows ability to respond to ping request

im writing an application destined to accept icmp echo request, and respond icmp echo reply by its criteria. problem is, windows xp takes over the received ping, and quickly replies the sender with a response. i tried disabling this ability through windows firewall and microsoft managment console, it worked but it disabled me from sendin...

Ping a Specific Port

Hi, Just a quick sanity check here. Can you ping a specific port of a machine and if so in the answer can you provide an example? Im a looking for something likeping ip address portNum Thanks! ...

Is there a way to treat Ping-Host as a boolean in PowerShell?

I'd like to do something like this: if (Ping-Host server1) { blah } Anyone know of a simple way? ...

.NET My.Computer.Network.Ping & PadLeft

Following code snippet throws an error when padding the last part with 0, and the last part is 008, 009, 018, 019, 028, 029 etc. Anyone got an idea why? Sub Main() Dim fixed As String = "192.168.0." Dim ip1, ip2 As String For i As Int32 = 1 To 255 ip1 = fixed & Convert.ToString(i) Console.Write(ip1 & " - ") ...