|
@@ -31,6 +31,9 @@ function roomwork($sockfd)
|
|
|
|
|
|
global $config;
|
|
|
$host = $config['room_srv']['host'];
|
|
|
-$port = $config['room_srv']['port'];
|
|
|
+$ports = $config['room_srv']['ports'];
|
|
|
+
|
|
|
+foreach ($ports as $port) {
|
|
|
+ event\util::fork_listen($host,$port,'roomwork',1);
|
|
|
+}
|
|
|
|
|
|
-event\util::fork_listen($host,$port,'roomwork',1);
|