Re: sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please, PLEASE "Reply to All"!

Yes, you have to add something like 

------------------------------8<-------------------------
while(true) {

	// code here

	if( $someConditionThatWillMakeMeExit ) {
		break;
	}

	sleep(1); // to prevent excessive processor usage

}
------------------------------8<-------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux