Re: [PHP] Breaking out of a loop...

2004-05-12 Thread Tom Rogers
Hi, Thursday, May 13, 2004, 6:57:14 AM, you wrote: RF> Hi, RF> I have this code (below) that waits for particular data to come over RF> the socket ("ENX"), at which point it breaks out of the loop and does RF> other things. Presently, it will loop forever, until it receives RF> "ENX"—a good star

Re: [PHP] Breaking out of a loop...

2004-05-12 Thread Curt Zirzow
* Thus wrote Ren Fournier ([EMAIL PROTECTED]): > Thanks for the help, but I now get the error "PHP Warning: > socket_set_option() expects exactly 4 parameters, 3 given in > /Users/test/cr.php on line 51" when I run the script. Also, it still > seems to just wait on that "while" line, ins

Re: [PHP] Breaking out of a loop...

2004-05-12 Thread René Fournier
Thanks for the help, but I now get the error "PHP Warning: socket_set_option() expects exactly 4 parameters, 3 given in /Users/test/cr.php on line 51" when I run the script. Also, it still seems to just wait on that "while" line, instead of skipping to the "} elseif ($elapsed > 5) {" a

Re: [PHP] Breaking out of a loop...

2004-05-12 Thread Curt Zirzow
* Thus wrote Ren Fournier ([EMAIL PROTECTED]): > Hi, > > I have this code (below) that waits for particular data to come over > the socket ("ENX"), at which point it breaks out of the loop and does > other things. Presently, it will loop forever, until it receives > "ENX"—a good start—but I als