[TASK] Implemented countActiveConnections().

This commit is contained in:
Jan Philipp Timme
2010-12-08 16:54:08 +00:00
parent dee3333578
commit b1a7ac5fdb
3 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ $srv = $clientManager->createTcpConnection("srv", "jpt");
$srv->bind("localhost", 7777);
$srv->listen();
while($clientManager->countSockets() > 0) {
while($clientManager->countActiveConnections() > 0) {
$clientManager->work();
}
?>