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); } -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php