stanley-king 8 years ago
parent
commit
98fdbe2780
1 changed files with 5 additions and 5 deletions
  1. 5 5
      centra_srv.php

+ 5 - 5
centra_srv.php

@@ -64,12 +64,12 @@ function remote_addr()
 }
 
 $listen_fd = stream_socket_server (remote_addr(), $errno, $errstr);
-search_work($listen_fd);
+//search_work($listen_fd);
 
-//$count = 1;
-//while ($count-- > 0) {
-//    fork_subprocess($count,$listen_fd);
-//}
+$count = 1;
+while ($count-- > 0) {
+    fork_subprocess($count,$listen_fd);
+}