|
@@ -67,6 +67,8 @@ function remote_addr()
|
|
|
$listen_fd = stream_socket_server (remote_addr(), $errno, $errstr);
|
|
|
//search_work($listen_fd);
|
|
|
|
|
|
+$addr = remote_addr();
|
|
|
+echo "remote addr = {$addr} fd={$listen_fd}";
|
|
|
$count = 1;
|
|
|
while ($count-- > 0) {
|
|
|
fork_subprocess($count,$listen_fd);
|