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. - MarkWhat operating system?
Sorry, REDHAT.
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.and look for "number of packets to send". On a *Doze box, it's -n. On some *Nix boxes, it's -c.
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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx