FD_SETSIZE limitation

From: Date: Thu, 19 Feb 2009 22:24:35 +0000
Subject: FD_SETSIZE limitation
Groups: php.internals 
Request: Send a blank email to internals+get-43124@lists.php.net to get a copy of this message
Can someone explain why ext/sockets and also stream socket functions care about FD_SETSIZE? # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) On Linux, it's not a hard limitation imposed by the kernel. It's configurable via sysctl. -Andrei

« previous php.internals (#43124) next »