Evan Platt wrote:
On Mon, May 1, 2006 4:38 pm, Mark London wrote:
A user at our site has complained that he when he tries to create a
script (cgi or php) that uses PING, if the PING hits a node that doesn't
respond (i.e. the node has a firewall), the PING never times out and the
script hangs.  From the command line, PING will timeout.  Would anyone
have any insight into this problem, and have a solution?  Thanks. - Mark

What operating system?
Sorry, REDHAT.
and look for "number of packets to send". On a *Doze box, it's -n. On some
*Nix boxes, it's -c.
It doesn't matter what he tries. He's grabbed lots of different scripts off the web, some very elaborate, that do pings, and they all hang when he hits a node that is on the network, but doesn't respond to the ping. He suspects that the traps to do the timeout are being disabled by apache.

Mark


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to