[TASK] Code cleanup and some small documentation.

This commit is contained in:
Jan Philipp Timme
2010-11-28 16:51:43 +00:00
parent a20a91bf12
commit db9dda856c
7 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ class Connection_ConnectionPool {
if($connectionHandler->canWrite() && $connectionHandler->isServer() === FALSE) $write[] = $connectionSocket;
}
$except = $read;
//Arrays are prepared, let's have socket_select() take a look and process its results.
$tempArray = array();
$selectedSockets = $this->socketPool->select($read, $write, $except);
foreach($selectedSockets AS $selectedType=>$selectedArray) { //read, write, except, this loop won't kill performance