|
Hi!
Does anyone know, how to capture ping's return value in c++? According to this link : ping should return 0 on success, 1 on failure such as unknown host, illegal packet size, etc. and 2 On a unreachable host or network.
In C++ I called ping with the...
Started by kampi on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
From man 3 system the ping functionality....
System("ping 192.169.1.5 > ping_res.txt");
And read ping_res.txt to get the info you need.
A simple solution would be pipe the output of ping to to a file and read it.
|
|
When I ping a the computer I am using on my home network the response I get looks odd:
Reply from fe80::8150:b519:d5da:8a00%9: time<1ms
Yet I ping another computer on my home network and I get a normal IP address.
The results of ipconfig look like ...
Started by TGnat on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
To force ping to use ipv4 add -4 as an argument:
ping localhost -4
Incidentally, you an also force IPv6 with -6
ping....
When you have IPv6 active, ping and a few other commands may default to IPv6.
Disable IPv6 on the network card.
|
|
Our hosted servers are experiencing periods of very slow network access. During these periods pinging from any of our servers to the default gateway results in ping times of up to 500ms (instead of the normal 2-3ms). There are no packets lost.
The ISP...
Started by DanJ on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at serverfault):
Pings are accurate only as far as ICMP is left to its defaults possible, find a host on the other....
What happens if you ping a unix system one router-hop ping anyone on you continent.
Means nothing (well, not what you want anyway).
|
Ask your Facebook Friends
|
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.
...
Started by Dave Forgac on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can create a tty pair for the subprocess and ... .
Too (where ping and traceroute may have their own problems anyway) -- let us know if that's the case , but since it runs ping with -n 1 it doesn't last long enough to make a difference.
|
|
Current suspect is the Watchguard Firewall. Most likely I am to blame as the person who edited the firewall rules.
At a recent point in the past my company was on a different external IP address. I switched providers and thus changed external IPs. Prior...
Started by pplrppl on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Are you sure you have proper NAT rules configured on your gateway/firewall? It may not be translating the ping.
So this is not a DNS problem.
Hi,
74.125.65.99 is a Google IP according to whois .
Address.
|
|
In my Windows Forms application (on startup) I use the ping command to check if both the Internet connection and my SQL Server are alive.
Is there any "better" way-command I should use for accomplishing the above task in the .NET framework 2.0?
Started by strakastroukas on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Ping can only be used to verify that packets can travel to the destination but is not suitable pooling, according to MSDN
The pool is automatically cleared when a fatal error occurs.
|
|
Can someone tell me which pinging service is best for manually pinging things like your profile pages you set up when dropping links?
I've used Pingler most of the time and they push out to over 90 ping services, but when I watch it do it's thing a lot...
Started by The Expert on
, 45 posts
by 42 people.
Answer Snippets (Read the full thread at warriorforum):
Ping-o-omatic is the best one according to my experience >>>>>>Get my Latest DoUs them all? Do not use this site for building one way links! I use Ping-o-omatic, like a lot graisse ventre et maigrir
Cancer et tumeur....
|
|
On Tue, 28 Aug 2007 13:21:53 +1000, Charlie <ariestao@clearmail.com.au> wrote:
Never having used ping, and not really understanding the man page for it:-
When I ping my modem:
what command/option/s should I use?
Is the following a normal ...
Answer Snippets (Read the full thread at omgili):
Is the following a normal reply from a satellite modem to
> ping:- --} >> --} >
>--} >> --} > ping: sendmsg: Operation not permitted
>--} >> --} > ping: sendmsg: Operation not permitted
>--....
|
|
Ping trolling... funny? This is not a troll poll! It doesn't matter who does it, what do you think of it? Last edited by Soarer; 29 Aug 2011 at 16:03 .
Started by Soarer on
, 15 posts
by 8 people.
Answer Snippets (Read the full thread at geekhack):
The 4 second ones are mythical....
Using trolls.
Wanna know what happened as a result of all the pingWhat do you mean by "ping trolling"? Friends don't coerce their friends to use Facebook.
according to Redpill's most excellent Ping Poll.
|
|
Posted 10 February 2012 - 06:22 AM
Ping Beryllium Copper putters were manufactured from 1987 to early 1999 according to Ping. The exception are two models, both Ansers, made for Cabot Industries (about 150 made) and KBI (about 250 made). Occasionally ...
Started by dubbie on
, 13 posts
by 9 people.
Answer Snippets (Read the full thread at golfwrx):
Those putters that havePosted 10 February 20....
The exception are two models, both Ansers, made for Cabot Industries (about 150 made is a list of all the models, according to information received from Ping.
according to Ping.
|