socket_set_block(); - question

From: Date: Wed, 24 Jul 2002 20:18:52 +0000
Subject: socket_set_block(); - question
Groups: php.general php.windows 
Request: Send a blank email to php-general+get-109353@lists.php.net to get a copy of this message
Hi, I found the function socket_set_block(); in ext/sockets/sockets.c (the function is not documented) and I tried to use it but it seems to doesn't take effect... Why doesn't this function work ? Am I doing something wrong ? Here is my code: function sockRead($length = 1) { socket_set_block($this->IcqSocket); return @socket_read($this->IcqSocket, $length, PHP_BINARY_READ); socket_set_nonblock($this->IcqSocket); }

« previous php.general (#109353) next »