Reply to Time Out an Exec Call

Your name:

Reply:


Posted by Tyrone Slothrop on 05/30/06 16:00

I am using exec() to run a number of StarOS tests on multiple IP's
(they test various aspects of router and server functions). The
problem I have is that an invalid IP may cause a delay of a few
minutes in the execution of the script. I cannot use ping to test the
validity of an IP since ping may be blocked.

Is there a way to stop the execution of a loop if, after a few
seconds, there is no response from the server? I would guess that the
exec() would have to be called from inside of some sort of timer,
though the solution escapes me.

TIA!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация