wait function

From: Date: Sat, 05 Feb 2005 12:54:33 +0000
Subject: wait function
Groups: php.general 
Request: Send a blank email to php-general+get-208115@lists.php.net to get a copy of this message
I would write down an efficient WAIT function. The one I did was as follows: function microdelay($delay) { $UNUSED_PORT=31238; @fsockopen("tcp://localhost",$UNUSED_PORT,$errno,$errstr,$delay); } But it does not seem to work well. Any suggestion? Regards Alessandro

« previous php.general (#208115) next »