(file|socket)_set_blocking?

From: Date: Fri, 26 Jul 2002 10:54:18 +0000
Subject: (file|socket)_set_blocking?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86229@lists.php.net to get a copy of this message
Good morning, I have a question: What's the reason for the socket_set_blocking() function not accepting filehandles (PHP_STREAM_IS_STDIO), but only streams. Really? The actual system calls (fcntl()) are the same for both fd's and streams, so I suspect there might be a good reason for being the way it is. Thought I would ask, because it sure would be nice if fd's could also be set non blocking, without having to add that function in the source myself every new PHP install, and without using dio. Keep the good work up! --- Johan Björk

« previous php.dev (#86229) next »