On Mon, 22 Jul 2002, Kondwani Spike Mkandawire wrote:
> I am trying to execute a Script running a telnet command
> testing through a range of IP connections...
> Here goes:
>
> $str = "123.456.789.";
> $count = 0;
>
> while ($count < 999){
> $runTheScriptCommand...
> }
>
I am trying to execute a Script running a telnet command
testing through a range of IP connections...
Here goes:
What I want to stick into the while loop is if connection
was successful, break... Is there a way I can check whether
telnet connection was successful on each step through the
loop
2 matches
Mail list logo