wokerman chat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
chat_room/sever/index.php

14 lines
299 B

<?php
/**
* author: NickBai
* createTime: 2016/12/9 0009 下午 4:19
*/
if (version_compare(phpversion(), "5.4.0", "lt")) {
exit('php version must greater than 5.4.0');
}
ob_implicit_flush();
require_once('./core/SocketChat.php');
//run server
$port = 8090;
new NickBai\SocketChat( $port );